Skip to content

Commit 2e3b4cb

Browse files
authored
KAFKA-18352: Add back DeleteGroups v0, it incorrectly tagged as deprecated (#18324)
The Sarama version listed in the KIP only supports v0. Reviewers: Chia-Ping Tsai <[email protected]>
1 parent c7c1364 commit 2e3b4cb

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
"type": "request",
1919
"listeners": ["zkBroker", "broker"],
2020
"name": "DeleteGroupsRequest",
21-
// Version 0 was removed in Apache Kafka 4.0, Version 1 is the new baseline.
22-
//
2321
// Version 1 is the same as version 0.
2422
//
2523
// Version 2 is the first flexible version.
26-
"validVersions": "1-2",
24+
"validVersions": "0-2",
2725
"flexibleVersions": "2+",
2826
"fields": [
2927
{ "name": "GroupsNames", "type": "[]string", "versions": "0+", "entityType": "groupId",

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
"apiKey": 42,
1818
"type": "response",
1919
"name": "DeleteGroupsResponse",
20-
// Version 0 was removed in Apache Kafka 4.0, Version 1 is the new baseline.
21-
//
2220
// Starting in version 1, on quota violation, brokers send out responses before throttling.
2321
//
2422
// Version 2 is the first flexible version.
25-
"validVersions": "1-2",
23+
"validVersions": "0-2",
2624
"flexibleVersions": "2+",
2725
"fields": [
2826
{ "name": "ThrottleTimeMs", "type": "int32", "versions": "0+",

0 commit comments

Comments
 (0)