简体   繁体   English

不同消费者在同一个消费者组中订阅不同主题的缺点

[英]Disadvantages of having different consumers subscribed to different topics in same consumer group

What are the disadvantages of having different consumers subscribed to different topics in same consumer group with same group id?不同的消费者使用相同的组 id 订阅同一消费者组中的不同主题有什么缺点?

If a new consumer joins the above group, is there any effect to other consumers of the group subscribed to different topics?如果有新的消费者加入上述群组,对群组中订阅不同主题的其他消费者有影响吗?

If a new consumer joins the same group, then the group will rebalance, causing all consumers to stop (potentially mid-processing of records), then restart.如果一个新的消费者加入同一个组,那么该组将重新平衡,导致所有消费者停止(可能是记录的中间处理),然后重新启动。

Otherwise, there is no disadvantage as long as all consumer instance have very similar processing logic, or otherwise filter by the topic name by which they want to process.否则,只要所有消费者实例具有非常相似的处理逻辑,或者按他们想要处理的主题名称过滤,就没有缺点。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Kafka 消费者订阅了同一消费者组中的不同主题 - Kafka Consumers subscribed to different topics in same consumer group 对不同的 kafka 主题使用相同的消费者组 - Using same consumer group for different kafka topics 一个消费者的消费者滞后是否会影响同一组 id 中具有不同主题的其他消费者 - do consumer lag of one consumer will affect other consumer in a same group id with different topics 可以让具有相同group.id的kafka消费者分别使用不同的主题 - can kafka consumers with same group.id consume different topics separately 如果 Kafka Consumer 订阅了多个主题,它是否会以循环方式接收来自不同主题的消息? - If a Kafka Consumer is subscribed to multiple topics, does it receive messages in a round robin style from the different topics? 同一消费者组中的多个消费者 - Multiple consumers in same consumer group 我可以在单个 mule 应用程序中拥有两个 kafka 消费者吗? 都订阅了不同的主题 - Can i have two kafka consumer in single mule app? both subscribed to different topics 为什么 Kafka 消费者组要针对不同的主题进行分区撤销? - why Kafka consumer group is doing a partition revoking for different topics? 如果我有相同的消费者组名称来自不同的服务和不同的主题,它会影响 Kafka 性能还是重新平衡影响 - Does It affects Kafka performance or rebalance impact If I have same consumer group name form different service and different topics 消费者组可以记住订阅的所有主题吗 - Can consumer group remember which all topics it is subscribed to
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM