Hi Jose,

The KIP describes a couple of existing metrics that can be used to answer
that question:

The following metrics are used to determine both questions:
>
>    - Client name and version:
>    
> kafka.server:clientSoftwareName=(client-software-name),clientSoftwareVersion=(client-software-version),listener=(listener),networkProcessor=(processor-index),type=(type)
>    - Request name and version:
>    
> kafka.network:type=RequestMetrics,name=RequestsPerSec,request=(api-name),version=(api-version)}
>
>
Are you suggesting that this is too complicated and hence we should add a
metric that tracks AK 4.0 support explicitly?

Ismael

On Tue, Jan 10, 2023 at 10:33 AM José Armando García Sancio
<jsan...@confluent.io.invalid> wrote:

> Hi Ismael,
>
> Thanks for the improvement.
>
> I haven't been following the discussion in detail so it is possible
> that this was already discussed.
>
> If a user upgrades to Apache Kafka 4.0 it is possible for some of
> their clients to stop working because the request's version would not
> be a version that Kafka 4.0 supports. Should we add metrics or some
> other mechanism that the user can monitor to determine if it is safe
> to upgrade Kafka to 4.0. For example, the metrics could report if a
> Kafka broker received a request or response in the past 7 days that
> would not be supported by Kafka 4.0.
>
> Thanks
> --
> -José
>

Reply via email to