For a new consumer group, call
DefaultMQPushConsumer.setConsumeFromWhere(ConsumeFromWhere.CONSUME_FROM_LAST_OFFSET);
offsetStore.readOffset(mq, ReadOffsetType.READ_FROM_STORE)
never return -1
so it still pulls all the msgs in the topic. If it is bug, i want to solve it.
2条答案
按热度按时间cidc1ykv1#
Not supported, refer RocketMQConsumerProperties
ggazkfy82#
refer #488