Skip to content
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

Allow blocking when producing with the async producer #88

Closed
dasch opened this issue Feb 22, 2016 · 2 comments
Closed

Allow blocking when producing with the async producer #88

dasch opened this issue Feb 22, 2016 · 2 comments
Milestone

Comments

@dasch
Copy link
Collaborator

dasch commented Feb 22, 2016

Currently, when calling #produce on an async producer when the message queue is full a BufferOverflow exception is raised. It would be nice to have the option of blocking instead. Bonus points if there's a configurable timeout.

Note that in order to do this correctly a more sophisticated bounded queue would need to be implemented.

@dasch dasch modified the milestone: v0.3 Feb 29, 2016
@dasch dasch modified the milestones: v0.3, v0.4 Mar 8, 2016
@hkroger
Copy link

hkroger commented Sep 22, 2016

This would be nice since it's also impossible to check the queue length at the moment to halt producing messages if queue is getting too long.

@dasch
Copy link
Collaborator Author

dasch commented Jul 17, 2017

Closing due to a lack of activity.

@dasch dasch closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants