Distributed Message Service (Kafka)

Querying the Topic selected by a Consumer Group

2024-05-09 08:40:48

Interface

https://[endpoint].ctapi.ctyun.cn/v1/consumerGroup/slectedTopics

Request Method

GET

Request Parameters

Required or Not

Position

Parameter Type

Description

prodInstId

Yes

header

String

Instance ID

groupName

Yes

header

String

Consumer Group Name

Response Parameter

Parameter Type

Description

data

Array

The array of subscribed topics.

Examples of a Successful   Response

{

      "returnObj": {

          "data": [

              "pps2",

              "ppx"

        ]

    },

    "message":   "success",

      "statusCode": "800"

}

Example of a Failed Response

{

      "returnObj": {},

    "message":   "...",

      "statusCode": "900"

}


vIPnljGJVtxf