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

kafka input stalls on high lag #1923

Open
robertmarsal opened this issue May 24, 2023 · 4 comments · May be fixed by #2836
Open

kafka input stalls on high lag #1923

robertmarsal opened this issue May 24, 2023 · 4 comments · May be fixed by #2836
Labels
needs investigation It looks as though have all the information needed but investigation is required waiting for upstream Blocked on changes needed in an upstream dependency

Comments

@robertmarsal
Copy link
Contributor

Since 4.9.1 (specifically this commit: 349ba19) when one of our Kafka topics has a high lag (more than 2000 pending messages) Benthos stops consuming without returning any errors and just stalls there.

It seems like the downgrade of the sarama library introduces this bug as previous versions before the rollback can handle this scenario just fine.

Looks like you might be waiting on IBM/sarama#2358 to be resolved to upgrade but that seems unlikely given how long has past. Would it be possible to upgrade to the latest version? Thanks

@robertmarsal
Copy link
Contributor Author

We've updated to the latest version of sarama however it doesn't seem to fix this issues consistently so there might be other changes we are missing 🤔

@Jeffail
Copy link
Collaborator

Jeffail commented May 24, 2023

Hey @robertmarsal, have you given the kafka_franz input a try? My medium-term plan is to deprecate kafka for it.

@Jeffail Jeffail added needs investigation It looks as though have all the information needed but investigation is required waiting for upstream Blocked on changes needed in an upstream dependency labels May 24, 2023
@robertmarsal
Copy link
Contributor Author

Hi @Jeffail we looked into it and the only thing stopping us at the moment is the lack of extract_tracing_map in kafka_franz without it all our traces will get disconnected. Happy to add that if I could get some pointers 🤔

@jeongukjae
Copy link

Add a PR to add extract_tracing_map in kakfa_franz :)
#2836

@jeongukjae jeongukjae linked a pull request Sep 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation It looks as though have all the information needed but investigation is required waiting for upstream Blocked on changes needed in an upstream dependency
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants