hi Eric

chia_00: I'm not a fan of duplicate code. Could we keep only public methods in 
the deprecate classes and then have them delegate to the internal ones?

Best,
Chia-Ping

On 2026/04/15 23:53:50 Eric Chang wrote:
> Hi Kafka devs,
> 
> I would like to start the discussion for KIP-1320:
> 
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-1320%3A+Deprecate+org.apache.kafka.common.utils.Utils+and+introduce+an+internal+replacement
> 
> This KIP proposes to deprecate `org.apache.kafka.common.utils.Utils`
> in Kafka `4.4.0`, introduce
> `org.apache.kafka.common.utils.internals.Utils` for Kafka internal
> usage, and remove the old `org.apache.kafka.common.utils.Utils` class
> in Kafka `5.0.0`.
> 
> The proposed migration keeps `org.apache.kafka.common.utils.Utils`
> source and binary compatible during the Kafka `4.4.x` line. The
> internal replacement is created by copying the existing
> implementation, so this KIP does not propose changing the behavior of
> any `Utils` method.
> 
> Please take a look and let me know your thoughts.
> 
> Thanks,
> Eric Chang
> 

Reply via email to