Kafka - with Java/Python
Which method is used to subscribe a Python Kafka consumer to one or more topics?
Which method is used to subscribe a Python Kafka consumer to one or more topics?
subscribe() method is used to subscribe to topics by name.assign()assign() is used to assign specific partitions, not topics.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions