Confluent
CCDAK · Question #67
To produce data to a topic, a producer must provide the Kafka client with...
The correct answer is D. any broker from the cluster and the topic name. All brokers can respond to a Metadata request, so a client can connect to any broker in the cluster and then figure out on its own which brokers to send data to.
Developing Kafka Producers
Question
To produce data to a topic, a producer must provide the Kafka client with...
Options
- Athe list of brokers that have the data, the topic name and the partitions list
- Bany broker from the cluster and the topic name and the partitions list
- Call the brokers from the cluster and the topic name
- Dany broker from the cluster and the topic name
How the community answered
(30 responses)- A3% (1)
- B7% (2)
- C3% (1)
- D87% (26)
Explanation
All brokers can respond to a Metadata request, so a client can connect to any broker in the cluster and then figure out on its own which brokers to send data to.
Topics
#bootstrap servers#producer configuration#broker discovery#topic name
Community Discussion
No community discussion yet for this question.