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
When consuming incoming events with a blocking consumer that uses a custom worker thread pool, is it possible to configure the shutdown for that thread pool to allow some grace period before interrupting the worker threads?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When consuming incoming events with a blocking consumer that uses a custom worker thread pool, is it possible to configure the shutdown for that thread pool to allow some grace period before interrupting the worker threads?
Consider this small example:
On shutdown, the threads are always interrupted before they're able to finish the blocking job.
Beta Was this translation helpful? Give feedback.
All reactions