Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A similar adapter can be used for RestClient (extends SslContextFactory.Client). 

Private code to drop / modify:

  • drop current SSL utilities org.apache.kafka.connect.runtime.rest.util.SSLUtils with unit tests;

  • simple refactoring SslFactory#instantiateSslEngineFactory to extract public static utility method to use inside RestServer.

Compatibility, Deprecation, and Migration Plan

Utilities are affected by the change: 

  • ConnectStandalone;

  • ConnectDistributed;

  • MirrorMaker.

There is no impact on existing behavior, and  the existing behavior is not deprecated. All existing SSL properties are supported.

...

Add integration tests to check:

...

  • RestClient creation (modify RestForwardingIntegrationTest);

  • Custom SSL engine factory to configure RestServer listeners.

...