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
posta 5 anni fa308 visualizzazioni
3 Risposte
0

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

con risposta 5 anni fa
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
con risposta 5 anni fa
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.

con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande