Skip to content

Adds an optional idle timeout to BatchingProducer #1841

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

Merged

Conversation

jstnlef
Copy link
Contributor

@jstnlef jstnlef commented Oct 28, 2022

Description

The system we run can have an unbounded number of BatchingProducers created and rather than continuing to accumulate these forever, it would be nice to specify a timeout to allow for these to clean themselves up after receiving no messages.

Purpose

This pull request is a:

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@jstnlef jstnlef force-pushed the add-idle-timeout-to-batchingproducer branch from d421f60 to 9de3b60 Compare October 28, 2022 18:20
@rogeralsing rogeralsing merged commit 6744c68 into asynkron:dev Oct 28, 2022
@jstnlef jstnlef deleted the add-idle-timeout-to-batchingproducer branch October 28, 2022 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants