[
https://issues.apache.org/jira/browse/KAFKA-17145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866508#comment-17866508
]
Vikas Balani edited comment on KAFKA-17145 at 7/16/24 7:03 PM:
---------------------------------------------------------------
I understand. I was not aware that the package is not part of the public API.
Thanks for the prompt clarification and feedback, [~gharris1727] and
[~ChrisEgerton]. Much appreciated!
was (Author: JIRAUSER305811):
I understand. I was not aware that these functions are not part of the public
API. Thanks for the prompt clarification and feedback, [~gharris1727] and
[~ChrisEgerton]. Much appreciated!
> Reinstate Utils.join() method in org.apache.kafka.common.utils
> --------------------------------------------------------------
>
> Key: KAFKA-17145
> URL: https://issues.apache.org/jira/browse/KAFKA-17145
> Project: Kafka
> Issue Type: Bug
> Components: connect
> Affects Versions: 3.8.0
> Reporter: Vikas Balani
> Assignee: Vikas Balani
> Priority: Major
>
> h3. Description:
> The Utils.join() function has been removed from the
> org.apache.kafka.common.utils package. This utility function is widely used
> by many connector plugins, which are now failing due to the absence of this
> method.
> h3. Example of affected code:
> The S3 Sink Connector uses this method here:
> [link|https://github.com/confluentinc/kafka-connect-storage-cloud/blob/c90780dd61c6b1e11cd89c20619ac81a99aa19d5/kafka-connect-s3/src/main/java/io/confluent/connect/s3/S3SinkConnectorConfig.java#L1087]
> h3. Impact:
> 1. Connector plugins that depend on this method are failing.
> 2. This change breaks backward compatibility for plugins and custom code
> relying on Utils.join().
> h3. Proposed Solution:
> 1. Partially revert https://github.com/apache/kafka/pull/15823
> 2. Restore the Utils.join() method in org.apache.kafka.common.utils.
> 3. Maintain the usage of JDK API within Apache Kafka codebase instead of
> Utils.join().
> 4. Add a deprecation warning to Utils.join() to indicate future removal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)