KAFKA-12515; Feature support should be ignorable in ApiVersion response (#10377)

Feature support should be treated as ignorable in the api version response so that we can gracefully downgrade for older clients without additional logic in the broker.

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>, Jason Gustafson <jason@confluent.io>
This commit is contained in:
feyman2016 2021-06-21 18:19:05 +00:00 committed by GitHub
parent ac5ddc574e
commit f914ed73e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
]},
{ "name": "ThrottleTimeMs", "type": "int32", "versions": "1+", "ignorable": true,
"about": "The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota." },
{ "name": "SupportedFeatures", "type": "[]SupportedFeatureKey",
{ "name": "SupportedFeatures", "type": "[]SupportedFeatureKey", "ignorable": true,
"versions": "3+", "tag": 0, "taggedVersions": "3+",
"about": "Features supported by the broker.",
"fields": [
@ -58,7 +58,7 @@
{ "name": "FinalizedFeaturesEpoch", "type": "int64", "versions": "3+",
"tag": 1, "taggedVersions": "3+", "default": "-1", "ignorable": true,
"about": "The monotonically increasing epoch for the finalized features information. Valid values are >= 0. A value of -1 is special and represents unknown epoch."},
{ "name": "FinalizedFeatures", "type": "[]FinalizedFeatureKey",
{ "name": "FinalizedFeatures", "type": "[]FinalizedFeatureKey", "ignorable": true,
"versions": "3+", "tag": 2, "taggedVersions": "3+",
"about": "List of cluster-wide finalized features. The information is valid only if FinalizedFeaturesEpoch >= 0.",
"fields": [