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

[DevX-183] Add rebalancing logic to kafka consumers #866

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

ish-bindra
Copy link
Contributor

@ish-bindra ish-bindra commented Jan 30, 2025

Node-rdKafka won't handle rebalancing state and leaves it to lib-rdkafka to do it.

There are issues we are observing with this approach: Link to logs where consumers are left in a Zombie state and they don't process anything even though they are connected to Kafka

Other solutions rebalance on specific error codes: tulios/kafkajs#1474

This PR:

More reading:

Upgrade node-rdkafka to latest
Add cooperative-sticky rebalancing approach as default
Copy link

changeset-bot bot commented Jan 30, 2025

🦋 Changeset detected

Latest commit: 0ad457e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@steveojs/storage-postgres Major
steveo Major
@steveojs/datadog Major
@steveojs/newrelic Major
@steveojs/sentry Major
@steveojs/statsd Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ish-bindra ish-bindra merged commit 29389d6 into main Feb 4, 2025
4 checks passed
@ish-bindra ish-bindra deleted the add-rebalancing-callback-kafka branch February 4, 2025 01:06
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