Summary
The Kafka Producer API requires a list of host/port pairs for establishing the initial connection to the Kafka cluster, known as the bootstrap servers. This list of servers is used by the client to bootstrap itself, regardless of which servers are specified.
1
The bootstrap servers are a comma-separated list of host and port pairs that are the addresses of the Kafka brokers in a "bootstrap" Kafka cluster.
2
According to
See more results on Neeva
Summaries from the best pages on the web
Apache Kafka: A Distributed Streaming Platform. Everything you need to know about Kafka in 10 minutes (clicking the image will load a video from YouTube)
Apache Kafka
apache.org
Summary
servers is a mandatory field in Kafka Producer API . It contains a list of host/port pairs for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping.
What is the importance of Kafka bootstrap servers | Edureka Community
edureka.co
Unable to generate a short snippet for this page, sorry about that.
confluent.io
How to connect clients to Kafka hosted in separate networks, such as Docker, AWS EC2, ... machine itself: $ echo "foo"|kafka-console-producer --broker-list ...
Kafka Listeners - Explained
rmoff.net