This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new ecd5b4c1575 MINOR: enhance DescribeClusterResponse ControllerId
description (#20400)
ecd5b4c1575 is described below
commit ecd5b4c1575ccb38fd32dda2322eb0cb8acebf2f
Author: Kuan-Po Tseng <[email protected]>
AuthorDate: Mon Aug 25 02:41:02 2025 +0800
MINOR: enhance DescribeClusterResponse ControllerId description (#20400)
enhance the description of ControllerId in DescribeClusterResponse.json
Reviewers: Chia-Ping Tsai <[email protected]>
---
clients/src/main/resources/common/message/DescribeClusterResponse.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/clients/src/main/resources/common/message/DescribeClusterResponse.json
b/clients/src/main/resources/common/message/DescribeClusterResponse.json
index a17e427c8c3..1911b1ec33d 100644
--- a/clients/src/main/resources/common/message/DescribeClusterResponse.json
+++ b/clients/src/main/resources/common/message/DescribeClusterResponse.json
@@ -36,7 +36,7 @@
{ "name": "ClusterId", "type": "string", "versions": "0+",
"about": "The cluster ID that responding broker belongs to." },
{ "name": "ControllerId", "type": "int32", "versions": "0+", "default":
"-1", "entityType": "brokerId",
- "about": "The ID of the controller broker." },
+ "about": "The ID of the controller. When handled by a controller,
returns the current voter leader ID. When handled by a broker, returns a random
alive broker ID as a fallback." },
{ "name": "Brokers", "type": "[]DescribeClusterBroker", "versions": "0+",
"about": "Each broker in the response.", "fields": [
{ "name": "BrokerId", "type": "int32", "versions": "0+", "mapKey": true,
"entityType": "brokerId",