This is an automated email from the ASF dual-hosted git repository.
jgus 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 fa1e456 MINOR: Add a few missing entity type tags (#9828)
fa1e456 is described below
commit fa1e456933e4ef9f033d9d1a67c66ce0c1ec6008
Author: Jason Gustafson <[email protected]>
AuthorDate: Tue Jan 5 16:34:01 2021 -0800
MINOR: Add a few missing entity type tags (#9828)
This patch adds a few missing "entity type" tags to the schema definitions
of `OffsetDeleteRequest`, `OffsetDeleteResponse`, and `TxnOffsetCommitRequest`.
Reviewers: David Arthur <[email protected]>, Chia-Ping Tsai
<[email protected]>
---
clients/src/main/resources/common/message/OffsetDeleteRequest.json | 4 ++--
clients/src/main/resources/common/message/OffsetDeleteResponse.json | 2 +-
clients/src/main/resources/common/message/TxnOffsetCommitRequest.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/clients/src/main/resources/common/message/OffsetDeleteRequest.json
b/clients/src/main/resources/common/message/OffsetDeleteRequest.json
index 5635949..108ca9f 100644
--- a/clients/src/main/resources/common/message/OffsetDeleteRequest.json
+++ b/clients/src/main/resources/common/message/OffsetDeleteRequest.json
@@ -19,11 +19,11 @@
"name": "OffsetDeleteRequest",
"validVersions": "0",
"fields": [
- { "name": "GroupId", "type": "string", "versions": "0+",
+ { "name": "GroupId", "type": "string", "versions": "0+", "entityType":
"groupId",
"about": "The unique group identifier." },
{ "name": "Topics", "type": "[]OffsetDeleteRequestTopic", "versions": "0+",
"about": "The topics to delete offsets for", "fields": [
- { "name": "Name", "type": "string", "versions": "0+", "mapKey": true,
+ { "name": "Name", "type": "string", "versions": "0+", "mapKey":
true, "entityType": "topicName",
"about": "The topic name." },
{ "name": "Partitions", "type": "[]OffsetDeleteRequestPartition",
"versions": "0+",
"about": "Each partition to delete offsets for.", "fields": [
diff --git
a/clients/src/main/resources/common/message/OffsetDeleteResponse.json
b/clients/src/main/resources/common/message/OffsetDeleteResponse.json
index f2be321..1cdc6ad 100644
--- a/clients/src/main/resources/common/message/OffsetDeleteResponse.json
+++ b/clients/src/main/resources/common/message/OffsetDeleteResponse.json
@@ -25,7 +25,7 @@
"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": "Topics", "type": "[]OffsetDeleteResponseTopic", "versions":
"0+",
"about": "The responses for each topic.", "fields": [
- { "name": "Name", "type": "string", "versions": "0+", "mapKey": true,
+ { "name": "Name", "type": "string", "versions": "0+", "mapKey": true,
"entityType": "topicName",
"about": "The topic name." },
{ "name": "Partitions", "type": "[]OffsetDeleteResponsePartition",
"versions": "0+",
"about": "The responses for each partition in the topic.", "fields":
[
diff --git
a/clients/src/main/resources/common/message/TxnOffsetCommitRequest.json
b/clients/src/main/resources/common/message/TxnOffsetCommitRequest.json
index d4c4efb..bd91df3 100644
--- a/clients/src/main/resources/common/message/TxnOffsetCommitRequest.json
+++ b/clients/src/main/resources/common/message/TxnOffsetCommitRequest.json
@@ -25,7 +25,7 @@
"validVersions": "0-3",
"flexibleVersions": "3+",
"fields": [
- { "name": "TransactionalId", "type": "string", "versions": "0+",
+ { "name": "TransactionalId", "type": "string", "versions": "0+",
"entityType": "transactionalId",
"about": "The ID of the transaction." },
{ "name": "GroupId", "type": "string", "versions": "0+", "entityType":
"groupId",
"about": "The ID of the group." },