ni-ze commented on issue #287:
URL: 
https://github.com/apache/rocketmq-streams/issues/287#issuecomment-1534216513

   服务A正常消费数据message1-message10,此时启动服务B。同时服务B启动时会初始化rocketmq-stream,
   此时服务B消费message1-10之前,rocket-stream也会处理message1-10。
   ==========
   服务B所在的消费组首次消费时,是last消费的,消费不到message1-10。如果服务B所在的消费组不是首次启动,就会按照上次消费位点继续读去消息;
   
   有两种方法可以验证:
   
   1. 去掉rocketmq-streams依赖,试试看有这个依赖和没有这个依赖,表现方式是不是一样,预期是一样的;
   2. 
停止rocketmq集群,清理掉数据($ROCKETMQ_HOME路径下所有数据,commitlog、config等等),再次启动RocketMQ。模拟服务B所在消费组首次消费场景,看看问题还会出现不,预期是不会出现的。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to