Vikas Balani created KAFKA-17145:
------------------------------------

             Summary: 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


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