如上图所示,两个consumer实例,同一个group组,但是不同的topic,启动的时候报错
The consumer group has been created before, specify another name please
https://help.aliyun.com/document_detail/43523.html
https://blog.csdn.net/weixin_35973945/article/details/109090827
参考这两个文档,分别给两个consumer设置了不同的consumer.setInstanceName(“consumer-2”);
启动成功了,但是消费的时候发现只消费了一个topic
topic3中的消息未被消费