Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-348

Support SSL Configuration in connector properties

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: Configuration, Sink, Source
    • Labels:
      None
    • Hide

      Added the following new configurations so users can set the ssl properties for the connector specifically in the connection options:

      connection.ssl.trustStore=<your path to truststore> 
      connection.ssl.trustStorePassword=<your truststore password> 
      connection.ssl.keyStore=<your path to keystore> 
      connection.ssl.keyStorePassword=<your keystore password>"
      

      Has the benefit of not relying on system properties which impact the whole jvm.

      Show
      Added the following new configurations so users can set the ssl properties for the connector specifically in the connection options: connection.ssl.trustStore=<your path to truststore> connection.ssl.trustStorePassword=<your truststore password> connection.ssl.keyStore=<your path to keystore> connection.ssl.keyStorePassword=<your keystore password>" Has the benefit of not relying on system properties which impact the whole jvm.

      Currently, truststore and keystore are supported using system properties using 

      export KAFKA_OPTS="\
      -Djavax.net.ssl.trustStore=<your path to truststore> \
      -Djavax.net.ssl.trustStorePassword=<your truststore password> \
      -Djavax.net.ssl.keyStore=<your path to keystore> \
      -Djavax.net.ssl.keyStorePassword=<your keystore password>"
      

      and described in documentation.

      In many deployments it is not possible to control java execution environment, and would be more convenient to use connector properties to handle those params, for examples:

      connection.ssl.trustStore=<your path to truststore> 
      connection.ssl.trustStorePassword=<your truststore password> 
      connection.ssl.keyStore=<your path to keystore> 
      connection.ssl.keyStorePassword=<your keystore password>"

       

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            bdesert@gmail.com Ed Berezitsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: