Hi,

We cannot make incompatible changes to public classes outside of major
releases. The evolving annotation was left by mistake given that these
classes have been there for a long time by now.

The general way to handle this is to have a new non deprecated method,
deprecate the old one. And then remove the deprecated one in 5.0.

Ismael

On Sun, Mar 16, 2025, 5:53 AM PoAn Yang <yangp...@gmail.com> wrote:

> Hi all,
>
> I would like to start a discussion thread on KIP-1143.
>
> This KIP removes redundant org.apache.kafka.network.EndPoint and replaces
> it with org.apache.kafka.common.Endpoint. Also, it changes output of
> Endpoint#listenerName from Optional<String> to String.
>
> Please take a look and feel free to share any thoughts.
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=345377327
>
> Sample PR: https://github.com/apache/kafka/pull/19191
>
> Thanks,
> PoAn

Reply via email to