Hi, Taiju,

Thanks for the KIP and sorry for the late comment.

The tool's name kafka-broker-api-versions.sh indicates that it's intended
for the broker. So, it's a bit weird to use that to get the controller
info. It's probably clearer to have a new tool like
kafka-controller-api-versions.sh or rename the tool to something more
generic like kafka-node-api-versions.sh.

Jun

On Fri, Jan 9, 2026 at 3:42 PM TaiJu Wu <[email protected]> wrote:

> Hi chia,
>
> Thanks for your suggestion, this idea looks can help us reduce maintenence
> overhead.
> I have updated KIP and draft PR.
>
> Best,
> TaiJuWu
>
> Chia-Ping Tsai <[email protected]> 於 2026年1月6日週二 下午11:42寫道:
>
> > hi TaiJu
> >
> > The current tool implementation manually constructs requests and parses
> > responses. I think that might be the right time to refactor it to use the
> > Admin client.
> >
> > What do you think about including the following changes in this KIP?
> >
> > 1. Reuse the Admin client to handle request sending and response parsing,
> > replacing the manual implementation
> >
> > 2. Leverage KIP-1160 to send `ApiVersionsRequest` to specific nodes
> >
> > 3. Add an internal `InternalDescribeFeaturesResult` to expose
> `ApiVersion`
> > information. This would be used exclusively by the tool
> >
> > The main benefit is that the tool would be significantly streamlined,
> > making it much easier to introduce support for the bootstrap controller
> >
> > Best,
> > Chia-Ping
> >
> > On 2025/10/29 00:55:50 TaiJu Wu wrote:
> > > Hi all,
> > >
> > > I would like to start discuss KIP-1220: kafka-broker-api-versions tool
> > > support bootstrap controllers.
> > >
> > > KIP:
> > >
> >
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-1220%3A+kafka-broker-api-versions+tool+support+bootstrap+controllers
> > > JIRA: https://issues.apache.org/jira/browse/KAFKA-19663
> > > Draft PR: https://github.com/apache/kafka/pull/20598
> > >
> > > Any feedback are appreciated.
> > >
> > > Best regards,
> > > TaiJuWu
> > >
> >
>

Reply via email to