You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by da...@apache.org on 2023/12/12 18:40:18 UTC

(kafka) branch 3.7 updated: MINOR: Add entity type to topic names in ConsumerGroupDescribeResponse (#14986)

This is an automated email from the ASF dual-hosted git repository.

dajac pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.7 by this push:
     new 4e39768c9f9 MINOR: Add entity type to topic names in ConsumerGroupDescribeResponse (#14986)
4e39768c9f9 is described below

commit 4e39768c9f95f8c3fa56a50365c052541fa49128
Author: Dongnuo Lyu <13...@users.noreply.github.com>
AuthorDate: Tue Dec 12 13:39:19 2023 -0500

    MINOR: Add entity type to topic names in ConsumerGroupDescribeResponse (#14986)
    
    Reviewers: David Jacot <dj...@confluent.io>
---
 .../main/resources/common/message/ConsumerGroupDescribeResponse.json  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clients/src/main/resources/common/message/ConsumerGroupDescribeResponse.json b/clients/src/main/resources/common/message/ConsumerGroupDescribeResponse.json
index f6839b2250c..b20c051aeac 100644
--- a/clients/src/main/resources/common/message/ConsumerGroupDescribeResponse.json
+++ b/clients/src/main/resources/common/message/ConsumerGroupDescribeResponse.json
@@ -62,7 +62,7 @@
               "about": "The client ID." },
             { "name": "ClientHost", "type": "string", "versions": "0+",
               "about": "The client host." },
-            { "name": "SubscribedTopicNames", "type": "[]string", "versions": "0+",
+            { "name": "SubscribedTopicNames", "type": "[]string", "versions": "0+", "entityType": "topicName",
               "about": "The subscribed topic names." },
             { "name": "SubscribedTopicRegex", "type": "string", "versions": "0+", "nullableVersions": "0+", "default": "null",
               "about": "the subscribed topic regex otherwise or null of not provided." },
@@ -80,7 +80,7 @@
     { "name": "TopicPartitions", "versions": "0+", "fields": [
       { "name": "TopicId", "type": "uuid", "versions": "0+",
         "about": "The topic ID." },
-      { "name": "TopicName", "type": "string", "versions": "0+",
+      { "name": "TopicName", "type": "string", "versions": "0+", "entityType": "topicName",
         "about": "The topic name." },
       { "name": "Partitions", "type": "[]int32", "versions": "0+",
         "about": "The partitions." }