rocketmq-client-cpp
rocketmq-client-cpp copied to clipboard
[ISSUE #481]Fixed the issue that reset location cannot be consumed immediately
fix #481
Root cause of the problem:
- The consumer would set all exist pull request as dropped and do rebalance after change the local offset and the broker's consumption offset.
- But the pull request was not removed from the cache in RebalanceImp.cpp
- When doRebalance immediately after reset offset success, the new pull request can not assign to target message queues, which should be consumed by the client.
@ShannonDing @ifplusor Could you please help to review this pr?