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

Split consume and publishing to avoid blocking on backpressure #45

Open
jgraichen opened this issue Sep 28, 2021 · 0 comments
Open

Split consume and publishing to avoid blocking on backpressure #45

jgraichen opened this issue Sep 28, 2021 · 0 comments

Comments

@jgraichen
Copy link
Owner

Use two channels, one for publishing and another for consuming messages. This avoids terminating the consuming channel when a consumer tries to publish a message, but publishing is blocked due to backpressure. With two different channels, only the publishing channel should be blocked, not the consuming one.

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

1 participant