Skip to content

Commit c40cc57

Browse files
authored
KAFKA-18408 tweak the 'tag' field for BrokerHeartbeatRequest.json, BrokerRegistrationChangeRecord.json and RegisterBrokerRecord.json (apache#18421)
Reviewers: Chia-Ping Tsai <[email protected]>
1 parent 2a073a1 commit c40cc57

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clients/src/main/resources/common/message/BrokerHeartbeatRequest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"about": "True if the broker wants to be fenced, false otherwise." },
3232
{ "name": "WantShutDown", "type": "bool", "versions": "0+",
3333
"about": "True if the broker wants to be shut down, false otherwise." },
34-
{ "name": "OfflineLogDirs", "type": "[]uuid", "versions": "1+", "taggedVersions": "1+", "tag": "0",
34+
{ "name": "OfflineLogDirs", "type": "[]uuid", "versions": "1+", "taggedVersions": "1+", "tag": 0,
3535
"about": "Log directories that failed and went offline." }
3636
]
3737
}

metadata/src/main/resources/common/metadata/BrokerRegistrationChangeRecord.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"about": "-1 if the broker has been unfenced, 0 if no change, 1 if the broker has been fenced." },
3131
{ "name": "InControlledShutdown", "type": "int8", "versions": "1+", "taggedVersions": "1+", "tag": 1,
3232
"about": "0 if no change, 1 if the broker is in controlled shutdown." },
33-
{ "name": "LogDirs", "type": "[]uuid", "versions": "2+", "taggedVersions": "2+", "tag": "2",
33+
{ "name": "LogDirs", "type": "[]uuid", "versions": "2+", "taggedVersions": "2+", "tag": 2,
3434
"about": "Log directories configured in this broker which are available." }
3535
]
3636
}

metadata/src/main/resources/common/metadata/RegisterBrokerRecord.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"about": "True if the broker is fenced." },
5858
{ "name": "InControlledShutdown", "type": "bool", "versions": "1+", "default": "false",
5959
"about": "True if the broker is in controlled shutdown." },
60-
{ "name": "LogDirs", "type": "[]uuid", "versions": "3+", "taggedVersions": "3+", "tag": "0",
60+
{ "name": "LogDirs", "type": "[]uuid", "versions": "3+", "taggedVersions": "3+", "tag": 0,
6161
"about": "Log directories configured in this broker which are available." }
6262
]
6363
}

0 commit comments

Comments
 (0)