Skip to content

Draining mode doesn't work properly #361

Answered by astubbs
Alessandrovito asked this question in Q&A
Discussion options

You must be logged in to vote

[note:] This was a symptom of #365.

Hello again! Thanks for submitting your feedback and your rigorous testing! 🤗

Draining hasn't been visited in a while. Upon refreshing myself - it is very aggressive. So what the draining system is currently, is that it basically stops polling for more records, but doesn't close until all previously polled and queued records get finished processing. So - that could be a very long time yes (thousands or more records).

I'm not sure how popular this feature is.

With closeDontDrainFirst, if you have concurrency set to 10 - this would only wait until (up to) those 10 records are completed, commit, then close.

The closeDontDrainFirst system should wait…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@astubbs
Comment options

@astubbs
Comment options

@Alessandrovito
Comment options

@antonmos
Comment options

Answer selected by astubbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants