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

fix(produce): Apply backpressure instead of crashing #281

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

lynnagara
Copy link
Member

If we get local queue full, let's raise MessageRejected to slow down the consumer.

If we get local queue full, let's raise MessageRejected to slow down
the consumer.
@lynnagara lynnagara requested a review from a team as a code owner August 18, 2023 17:38
Copy link
Member

@volokluev volokluev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test for this?

@lynnagara lynnagara merged commit 01f55cb into main Aug 31, 2023
8 checks passed
@lynnagara lynnagara deleted the producer-buffer-error branch August 31, 2023 14:22
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.

3 participants