hi Peter

Pardon me, what is the purpose of monitoring __cluster_metadata? Are you
looking to observe topic changes or other cluster modifications?

As brokers continuously send heartbeat requests, __cluster_metadata will
keep "updating" even if there are no topic changes.
Best,
Chia-Ping


Péter Sinóros-Szabó <peter.sinoros-sz...@wise.com.invalid> 於 2025年4月18日 週五
上午1:30寫道:

> Hi,
>
> I'm looking for a way to consume the cluster metadata updates when using
> KRaft. I thought I'll just consume the __cluster_metadata topic, but as I
> see that's not possible, at least I didn't manage to do that with the
> console consumer.
>
> I know we have the dump tool or the metadata shell to query the cluster
> metadata, but I'd need something that I can stream, so I'm notified as soon
> as there's a change. We used to watch the znodes in Zookeeper for that
> reason, but now I'm looking for an alternative solution with KRaft.
>
> Is there a way to consume these cluster metadata updates? If it's not
> possible at the moment is it maybe possible to enable it to read in a
> version that still supports Zookeeper?
>
> Thanks,
> Peter
>

Reply via email to