[ 
https://issues.apache.org/jira/browse/KAFKA-17145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866436#comment-17866436
 ] 

Greg Harris commented on KAFKA-17145:
-------------------------------------

The containing package is not part of the public API 
[https://kafka.apache.org/30/javadoc/org/apache/kafka/common/package-summary.html]
 so the Apache Kafka project is under no obligation to preserve this method or 
provide a deprecation window.

You should immediately remove Utils.join from your custom code. We may decide 
to bring this method back temporarily to remove it in 4.0 to keep existing code 
working, but this would be a courtesy, not an obligation. I'll see if anyone 
else is thinks this is worth rolling a new RC.

> 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)

Reply via email to