You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/05/10 15:49:00 UTC
[jira] [Resolved] (KAFKA-19109) Don't print null in kafka-metadata-quorum describe status
[ https://issues.apache.org/jira/browse/KAFKA-19109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-19109.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> Don't print null in kafka-metadata-quorum describe status
> ---------------------------------------------------------
>
> Key: KAFKA-19109
> URL: https://issues.apache.org/jira/browse/KAFKA-19109
> Project: Kafka
> Issue Type: Sub-task
> Components: kraft
> Affects Versions: 3.9.0
> Reporter: José Armando García Sancio
> Assignee: PoAn Yang
> Priority: Minor
> Fix For: 4.1.0
>
>
> The kafka-metadata-quorum describe --status command prints null for the directory id when the controller cluster is statically configured:
> {code:java}
> kafka-metadata-quorum --bootstrap-controller ... describe --status
> ClusterId: MkU3OEVBNTcwNTJENDM2Qk
> LeaderId: 2
> LeaderEpoch: 1
> HighWatermark: 959
> MaxFollowerLag: 0
> MaxFollowerLagTimeMs: 0
> CurrentVoters: [{"id": 2, "directoryId": null, "endpoints": ["CONTROLLER://controller:9093"]}]
> CurrentObservers: [{"id": 1, "directoryId": "JEOuQuzpox9xlDU0T69OWw"}]{code}
> It is probably better to instead print the default or zero UUID or don't print the directory id field at all.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)