Kafka - Consumers
Which of the following is the correct way to subscribe a Kafka consumer to multiple topics named "topicA" and "topicB"?
subscribe() takes a list (or collection) of topic names as an argument.["topicA", "topicB"] is the correct way to subscribe to multiple topics.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions