You can specify a list of Kafka brokers to form a Kafka cluster and ensure high availability.
You can specify the Kafka broker connection string in the <host_name>:<port_number> or <IP_address>:<port_number> format where host, IP address, and port belong to the Kafka server where the broker is running. To connect through other Kafka brokers when one broker is down, you can specify multiple hosts in the following format:
hostname1:port1,hostname2:port2,hostname3:port3
If any broker in a Kafka cluster goes down, the other active brokers in the cluster continue to listen to the topic.