Broker host name convention

0

Do the hostnames for the brokers follow any convention ?

b-3.CLUSTER NAME.??????.?????.kafka.us-east-2.amazonaws.com

Thanks,
Jason

Edited by: jcoelho on May 9, 2019 2:17 PM

Edited by: jcoelho on May 9, 2019 2:17 PM

jcoelho
gefragt vor 5 Jahren308 Aufrufe
3 Antworten
0

The bootstrap brokers naming is an opaque string that is used internally. Similar to a unique identifier and essentially random. Thanks

beantwortet vor 5 Jahren
0

Followup - Can we assume that these host names will never change once the cluster is created ? The reason I ask is because we have FW rules between our Datacenter VMs and AWS. So, a hostname that changes in case of a failover, will cause issues.

jcoelho
beantwortet vor 5 Jahren
0

Hello, in general there is no guarantee that the host names will never change. However, even if they change this will not have any impact on a running application. The way the Kafka protocol works is that, after receiving these bootstrap brokers, the clients keep track and refresh the metadata including the broker addresses for all brokers they talk to in the cluster. If brokers change their IP address, the clients will refresh that metadata with no downtime to the application.

Could you work with security group rules instead of individual addresses? Thanks.

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen