摘要: 1 @Override 2 public void afterPropertiesSet() throws Exception { 3 final RocketMQMessageListener annotation = MyConsumer.class.getAnnotation(RocketMQ 阅读全文
posted @ 2021-05-12 18:43 龙之谷2019 阅读(4946) 评论(0) 推荐(0) 编辑
摘要: 多个服务器的情况下: 相同 topic 、consumerGroup tag 默认 均衡消费消息 相同 topic 、consumerGroup 当存在不同Tag的时候,会导致消费混乱,比如TagA的消息被TagB的消费者消费了。 相同topic 不同consumerGroup 默认tag,每个服务 阅读全文
posted @ 2021-05-12 13:56 龙之谷2019 阅读(2564) 评论(0) 推荐(0) 编辑