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

MINOR: Replace Kafka Utils.join() with JDK API #804

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

enzo-cappa
Copy link

Problem

The Kafka commons Utils class removed the "join" method in apache/kafka#15823 in Kafka 3.8. Due to this reason the connector stopped working on Kafka Connect 3.8 as well.

Solution

Following the example in the upstream PR, I'm replacing the usage of Utils.join with the JDK API of String.join, and updating the code accordingly.

This fixes #781

Does this solution apply anywhere else?
  • yes
  • no
If yes, where?

Test Strategy

Testing done:
  • Unit tests
  • Integration tests
  • System tests
  • Manual tests

Release Plan

Its safe to merge to master

The Kafka commons Utils class removed the "join" method in apache/kafka#15823 in Kafka 3.8. Due to this reason the connector stopped working on Kafka Connect 3.8 as well.

Following the example in the upstream PR, I'm replacing the usage of Utils.join with the JDK API of String.join, and updating the code accordingly.

This fixes confluentinc#781
@enzo-cappa enzo-cappa requested a review from a team as a code owner December 31, 2024 18:25
@confluent-cla-assistant
Copy link

confluent-cla-assistant bot commented Dec 31, 2024

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ enzo-cappa
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

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.

Not compatible with Kafka 3.8 libraries
1 participant