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
demandé il y a 5 ans308 vues
3 réponses
0

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

répondu il y a 5 ans
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
répondu il y a 5 ans
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.

répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions