izzyacademy / kafka-in-a-box

Kafka in a Container
Apache License 2.0
13 stars 6 forks source link

can we remove port 19092 from expose ports list and from KAFKA_LISTENERS for node2, as it only acts as a broker not controller #1

Closed moglideveloper closed 2 years ago

moglideveloper commented 2 years ago

https://github.com/izzyacademy/kafka-in-a-box/blob/432aba28fc1e010ba5ec7dad39a054649b6d554d/compose/kraft/multi-node-docker-compose.yml#L63

https://github.com/izzyacademy/kafka-in-a-box/blob/432aba28fc1e010ba5ec7dad39a054649b6d554d/compose/kraft/multi-node-docker-compose.yml#L55

Kindlly suggest, if port 19092 can be removed from expose ports list and from KAFKA_LISTENERS for node2, as it only acts as a broker not controller.

izzyacademy commented 2 years ago

@moglideveloper thank you for reporting the issue. I will be reviewing it soon and the yaml file and any other related artifacts will be update accordingly.

Thanks for the feedback

izzyacademy commented 2 years ago

@moglideveloper the issue has been resolved. Thanks for sharing this feedback.