Kafka Cluster Setup

Kafka Cluster Size Discussions

Kafka Configuration

Hands On Single Kafka Broker Setup:

Advertised Listeners Setting

The most important setting of Kafka

Kafka Broker 1
Public IP: 34.56.78.90
Private IP: 172.31.9.1
ADV_HOST=172.31.9.1

Basically the broker designates exactly what ip/hostname the broker wants you to use. If you designate that the advertised host is localhost or some other private IP that the client doesn't have access to, then the kafka client will fail to access the broker

The IPs need to be static.

References

Flashcards