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
已提問 5 年前檢視次數 308 次
3 個答案
0

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

已回答 5 年前
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
已回答 5 年前
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.

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南