-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot exit and close when there are rebalancing storm #787
Comments
Hi @sangreal - can you please elaborate a bit more - what gets interrupted by which wake-up? Are you observing - that |
Hi @rkolesnev since we were experiencing rebalancing storm. I think this should be from assigning partition. |
But it is |
Ok, i see, thanks. The interrupt / blocking thread handling always makes my head hurt a bit :) Alternatively - wrap the |
@rkolesnev I think checking Closing state in |
…balancing storm
Closing as #789 is merged. |
Version: 0.5.2.5 (+ stale container fix (#623))
Scenario:
When using, some of the health check logic on our end will trigger rebalancing storm by re-initialization. The closing is constantly interrupted by wake-up interrupt by poller. And we met with below exception.
Solution:
workerThreadPool
. Should not just reset the flag.as https://github.com/confluentinc/parallel-consumer/blob/master/parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/internal/AbstractParallelEoSStreamProcessor.java#L6573.
I will draft a pr when I have time.
The text was updated successfully, but these errors were encountered: