简体   繁体   中英

How do I send the same message to all consumers of a kafka topic?

I have one Kafka topic with one group and one partition

I have 15 Kafka consumers subscribed to the topic

I want to all of the consumers to receive a message when I publish it.

I am using pythonkafka library.

Is it possible in Kafka?

给所有消费者一个唯一的消费者组 ID,然后他们每个人都有单独跟踪的偏移量并接收相同的消息

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM