-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Update Kafka dependencies to prepare for KIP-896 #41165
Comments
Reference to the PR where the default for Sarama was changed: IBM/sarama#2574 |
@ruflin @andrewkroh could you please comment on this issue? |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Hello @nhaq-confluent |
Thanks. One important detail is that 2.1.0 is truly ancient at this point, it was released 6 years ago (in Nov 2018). So, we should consider changing the default for older releases too to avoid the situation where they are completely broken with Apache Kafka 4.0 (due in 2-3 months). |
Hello @nhaq-confluent @ijuma, is it possible to have access to 4.0.0 SNAPSHOT version for testing? This would help us perform upgrades and test it locally in our labs. TIA |
Closing this as completed by upgrades sarama version on elastic fork - elastic/sarama#19 |
Hello!
I am from Confluent, an organization contributing to Apache Kafka, and wanted to raise a request in regards to KIP-896.
In short, KIP-896 removes compatibility of certain client protocol API versions in Apache Kafka(AK) 4.0, being targeted for around January 2025. Since there is a dependency on Kafka in beats (in particular to a forked version of the Sarama client) I wanted to raise awareness that there could be some changes necessary to ensure a smooth experience for those using beats and Kafka. Here are the recommendations.
The latest versions of beats (7.X and higher) appear to be using sarama 1.29.1, which is good enough from the version perspective, however the Kafka version would need to be set to 2.1.0 manually by users to make this work. Recommend updating the default to be 2.1.0 or higher.
Recommend updating the sarama dependency to the latest version possible in future beats versions
Updating the beats docs, advising users of this situation and to set the Kafka version config to 2.1.0
Thank you!
The text was updated successfully, but these errors were encountered: