Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consumer group: bugfix fetch offsets spanning rebalance
4f2e7fe, addressing #98, was not complete: if, after a rebalance, the member was assigned no new added partitions, then fetchOffsets would not run. This prevented the logic in 4f2e7fe, which was to resume fetching for prior partitions that the client kept. We now add back in the previously-fetching partitions _before_ fetchOffsets. This was found by testing running AddConsumeTopics and PurgeConsumeTopics concurrent against each other, each spin looping 1000x, where we purged 'foo' and 'bar' and added 'foo' and 'bar' and 'biz'. Turns out 'biz' was not being consumed after the end; after this commit, 'biz' is consumed.
- Loading branch information