Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created April 24, 2019 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacoelho/e336e51976e3e14db494b9be3b8e8ccf to your computer and use it in GitHub Desktop.
Save jacoelho/e336e51976e3e14db494b9be3b8e8ccf to your computer and use it in GitHub Desktop.
secure kafka connect
kafka-connect:
image: confluentinc/cp-kafka-connect
depends_on:
- zookeeper
- kafka
- schema-registry
ports:
- 8083:8083
- 8084:8084
volumes:
- ${PWD}/server.jks:/server.jks
- ${PWD}/truststore.jks:/truststore.jks
- ${PWD}:/foo
environment:
CONNECT_listeners: http://0.0.0.0:8083,https://0.0.0.0:8084
CONNECT_listeners.https.ssl.keystore.location: /server.jks
CONNECT_listeners.https.ssl.keystore.password: 123456
CONNECT_listeners.https.ssl.key.password: 12345
CONNECT_listeners.https.ssl.truststore.location: /truststore.jks
CONNECT_listeners.https.ssl.truststore.password: 123456
CONNECT_listeners.https.ssl.endpoint.identification.algorithm: ""
CONNECT_listeners.https.ssl.client.auth: required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment