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
asked 5 years ago300 views
3 Answers
0

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

answered 5 years ago
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
answered 5 years ago
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.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions