What is the importance of Kafka bootstrap servers

+1 vote

Hi,

Can somebody explain me what is the purpose of bootstrap.servers in Kafka producer API ?

Thank You 

Feb 11, 2020 in Apache Kafka by akhtar
• 38,170 points
6,928 views

1 answer to this question.

0 votes

Hi@akhtar,

Bootstrap.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. This servers list should be in the form host1:port1,host2:port2,....

Thank You

answered Feb 11, 2020 by MD
• 95,040 points

Related Questions In Apache Kafka

0 votes
1 answer

What is the optimum number of producers to create in Kafka?

In general, a single producer for all ...READ MORE

answered Jul 10, 2018 in Apache Kafka by nitinrawat895
• 11,380 points
4,459 views
0 votes
1 answer

What is the use of acts configuration in Kafka Producer API?

Hi@akhtar, The acts configuration is used to configure ...READ MORE

answered Feb 11, 2020 in Apache Kafka by MD
• 95,040 points
239 views
0 votes
1 answer

What is the meaning of retries in Kafka Producer API?

Hi@akhtar, It defines how many time the producer ...READ MORE

answered Feb 11, 2020 in Apache Kafka by MD
• 95,040 points
1,620 views
0 votes
1 answer
+1 vote
2 answers
+1 vote
1 answer
+1 vote
3 answers

What is the need of zookeeper in kafka? Can I use kafka without zookeeper?

I just would like to complete the ...READ MORE

answered Dec 3, 2020 in Apache Kafka by Tamás
• 140 points
4,402 views
0 votes
1 answer

What is the need of serializer in Kafka Producer API?

Hi@akhtar, If we try to use String key ...READ MORE

answered Feb 11, 2020 in Apache Kafka by MD
• 95,040 points
221 views