You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-813: Re-pause a paused consumer after rebalance
Fixes#813
Kafka resumes the consumer(s) after a rebalance, but since the
`ListenerConsumer.consumerPaused` is still true, the container starts
consuming again and can't be paused without first issuing a resume.
On a rebalance, reset the boolean; the consumer will re-pause before
the next poll, if the container's `isPaused()` is still true after
the rebalance listeners exit.
Tested with a stand-alone Boot app (see the referenced issue).
**cherry-pick to 2.1.x**
(cherry picked from commit 012215c)
0 commit comments