Skip to content

Handle BufferErrors by backing off and retrying #673

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
merged 3 commits into from
Jun 14, 2022

Conversation

moritzmeister
Copy link
Contributor

We are sending messages faster than librdkafka can get them delivered to kafka and the local queue is filling up.
Solution is to back off when this happens and retry the message where it happened. When the bufferError happens we can be sure that the message wasn't sent.

Adding hidden options: debug_kafka and kafka_producer_config for the future for debugging and to optimize producer loop.

confluentinc/confluent-kafka-python#341 (comment)
confluentinc/confluent-kafka-dotnet#703

@SirOibaf SirOibaf merged commit 74d2518 into logicalclocks:master Jun 14, 2022
@moritzmeister moritzmeister deleted the test-jim-local-queue branch June 17, 2022 08:09
kennethmhc pushed a commit to kennethmhc/feature-store-api that referenced this pull request Nov 16, 2022
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