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

Add support for Kafka 4.0.0 #11176

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add support for Kafka 4.0.0 #11176

wants to merge 5 commits into from

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Feb 22, 2025

Type of change

  • Enhancement / new feature

Description

This PR adds support for Kafka 4.0.0 to test the 4.0.0-RC0.


The Kafka Agent has an issue because of backward incompatibilities between Jetty 9 used in Kafka 3 and Jetty 12 used in Kafka 4. The way this PR solves it is by creating two modules:

  • kafka-agent-3 for Kafka 3 with Jetty 9
  • kafka-agent for Kafka 4 with Jetty 12

During the container image build, the right version is copied. Once we drop support for Kafka 3.9, we will simply delete the kafka-agent-3 module.


The log4j2 support relies on the Log4j2 reloading features instead of on Kafka APIs. The logging changes are also currently not fully documented and unit tested.

Checklist

  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Update CHANGELOG.md

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.46.0 milestone Feb 22, 2025
@scholzj
Copy link
Member Author

scholzj commented Feb 23, 2025

/azp run upgrade

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
Signed-off-by: Jakub Scholz <www@scholzj.com>
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.

1 participant