Skip to content

Conversation

@RyanAmos
Copy link

@RyanAmos RyanAmos commented Jul 8, 2020

We can get into a bad unrecoverable state when we get a Kafka::MessageSizeTooLarge exception.

When we receive this exception, we remove the largest message from the buffer and simply retry. Once retried, if the buffer is still too large, we'll continue removing the largest message until we can successfully flush the buffer.

I won't merge this PR into master. I'll instead attempt to get this merged upstream. Making this a PR for reference, so we can go through the code review process internally.

…ion.

We can get into a bad unrecoverable state when we get a Kafka::MessageSizeTooLarge exception.

When we receive this exception, we remove the largest message from the buffer and simply retry.  Once retried, if the buffer is still too large, we'll continue removing the largest message until we can successfully flush the buffer.
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