Skip to content

Commit

Permalink
Fix Kafka's inner communication bug introduced in #733 (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Jun 14, 2018
1 parent 9045db6 commit 2b23065
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected void doStart() {
.withTarget(ZOOKEEPER_PORT, networkAlias);

proxy.start();
withEnv("KAFKA_ADVERTISED_LISTENERS", "BROKER://" + networkAlias + ":" + KAFKA_PORT +",PLAINTEXT://" + proxy.getContainerIpAddress() + ":" + proxy.getFirstMappedPort());
withEnv("KAFKA_ADVERTISED_LISTENERS", "BROKER://" + networkAlias + ":9092" + "," + getBootstrapServers());

if (externalZookeeperConnect != null) {
withEnv("KAFKA_ZOOKEEPER_CONNECT", externalZookeeperConnect);
Expand Down

0 comments on commit 2b23065

Please sign in to comment.