Closed xiaotanxingchen closed 5 years ago
The reason is because consumers have the same instanceName.
@xiaotanxingchen Currently, you can temporarily solve this issue by implementing RocketMQPushConsumerLifecycleListener and setting a unique instanceName in prepareStart. Contributors are welcome to solve this issue.
link #107
BUG REPORT Recently I encountered a problem, the message was consumed twice. I deployed three applications which are same, two of them on the same machine. When I send a message,it was consumed twice by the application on the same machine. But the other is ok.
`@Service @Transactional public class TestMqBusinessImpl implements ITestMqBusiness {
}`
`@Service @RocketMQMessageListener(topic = "test-topic", consumerGroup = "consumerGroup1", messageModel = MessageModel.CLUSTERING, consumeMode = ConsumeMode.ORDERLY) public class MyConsumer1 implements RocketMQListener{
}`