Hey Chia-Ping,

I hadn't considered adding the supported versions for each feature as a
metric, but I'm not sure if it's helpful for monitoring the progress of an
upgrade/downgrade of a feature. For example, if a node doesn't support a
particular feature level we're upgrading to, we shouldn't even be allowed
to run the upgrade right? I think that's the case for kraft.version (which
might be a special case), but I'm not sure about the other features. The
use case for exposing the finalized feature level is that monitoring it
across all nodes tells the operator that an upgrade/downgrade of the
feature was completed on every node.

Best,
Kevin Wu

On Thu, May 8, 2025 at 9:04 AM Kevin Wu <kevin.wu2...@gmail.com> wrote:

> Hey Jun,
>
> Thanks for the comments.
> 1. I'll update the KIP. My trunk is a bit stale.
> 2. Yeah, the metric should report the finalized feature level for the
> feature. And if it is not set, the metric will report 0.
> 3. I'll update the KIP with a timeline.
>
> Thanks,
> Kevin
>
> On Wed, May 7, 2025 at 3:10 PM Kevin Wu <kevin.wu2...@gmail.com> wrote:
>
>> Hey Jose,
>>
>> Thanks for the response. Yeah, the new metric should expose
>> metadata.version as well. Let me update the KIP to reflect that.
>>
>> Thanks,
>> Kevin Wu
>>
>> On Wed, May 7, 2025 at 2:54 PM Kevin Wu <kevin.wu2...@gmail.com> wrote:
>>
>>> Hello all,
>>>
>>> I wrote a KIP to add a generic feature level metric.
>>> Here's the link:
>>> https://cwiki.apache.org/confluence/display/KAFKA/KIP-1180%3A+Add+a+generic+feature+level+metric
>>>
>>> Thanks,
>>> Kevin Wu
>>>
>>>
>>>

Reply via email to