Hi Chia,

Thanks for the comments.

For chia_01, yes, Kafka's own codebase will migrate to the new 
org.apache.kafka.common.utils.internals package. I updated the KIP to state 
this explicitly in the Proposed Changes and Compatibility sections.

For chia_02, I added illustrative examples for Utils, ByteBufferInputStream, 
and ByteBufferOutputStream to show how the deprecated compatibility shims would 
look.

Thanks,
Eric

On 2026/06/08 15:06:47 Chia-Ping Tsai wrote:
> hi Eric
> 
> chia_01: I guess the codebase will use the new package instead, right? If so, 
> please write it down in the KIP, as this could have a significant impact and 
> we should be fully aware of it
> 
> chia_02: Would you mind adding an example to show how those deprecated 
> classes look like?
> 
> 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