Expose zookeeper and kafka ports so they are accessible outside docker
- zookeeper must be exposed for kafka 'shell' scripts using --zookeeper (eg. kafka-topics.sh)
- 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.
Migrated from D6034 (view on Phabricator)