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

Support SSL Configuration in connector properties

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.10.0
    • None
    • Configuration, Sink, Source
    • 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.

    Description

      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>"

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: