Confluent
CCDAK · Question #30
To read data from a topic, the following configuration is needed for the consumers
The correct answer is B. any broker to connect to, and the topic name. All brokers can respond to Metadata request, so a client can connect to any broker in the cluster.
Developing Kafka Consumers
Question
To read data from a topic, the following configuration is needed for the consumers
Options
- Aall brokers of the cluster, and the topic name
- Bany broker to connect to, and the topic name
- Cthe list of brokers that have the data, the topic name and the partitions list
- Dany broker, and the list of topic partitions
How the community answered
(50 responses)- A2% (1)
- B92% (46)
- C2% (1)
- D4% (2)
Explanation
All brokers can respond to Metadata request, so a client can connect to any broker in the cluster.
Topics
#bootstrap servers#consumer configuration#topic subscription
Community Discussion
No community discussion yet for this question.