Page MenuHomeSoftware Heritage

Expose zookeeper and kafka ports so they are accessible outside docker
ClosedPublic

Authored by vlorentz on Jul 28 2021, 9:38 AM.

Details

Summary
  1. zookeeper must be exposed for kafka 'shell' scripts using --zookeeper (eg. kafka-topics.sh)
  2. kafka must be on the original port (and hostname) for 'shell' script using --bootstrap-server (eg. kafka-console-consumer.sh), or it will loop forever with this error message: Connection to node 1002 (kafka/127.0.0.1:9092) could not be established. Broker may not be available.

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.