Skip to content

Commit

Permalink
Controller listens on the localhost instead of container host (#26)
Browse files Browse the repository at this point in the history
Signed-off-by: Ozan Gunalp <[email protected]>
  • Loading branch information
ozangunalp authored and morsak committed Jan 27, 2022
1 parent f326b9b commit 4fcd66c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ protected void containerIsStarting(final InspectContainerResponse containerInfo,

if (this.useKraft) {
// adding Controller listener for Kraft mode
kafkaListeners.append(",").append("CONTROLLER").append("://").append(getContainerIpAddress()).append(":").append("9094");
kafkaListeners.append(",").append("CONTROLLER://localhost:9094");
kafkaListenerSecurityProtocol.append(",").append("CONTROLLER:PLAINTEXT");
}

Expand Down

0 comments on commit 4fcd66c

Please sign in to comment.