Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Kafka clusters

Get Kafka consumer group detail

GET/kafka-clusters/{uuid}/consumer-groups/{groupID}

Retrieves a consumer group's members and per-topic offset lag. Results are cached for two minutes (10 seconds on Managed Kafka clusters) unless forceRefresh is true.

Authorizations

  • Authorizationstringheaderrequired

    API key passed as a Bearer token in the Authorization header.

Request

curl --request GET \
  --url https://api.artie.com/kafka-clusters/{uuid}/consumer-groups/{groupID} \
  --header 'Authorization: Bearer <token>'

Path parameters

  • groupIDstringrequired
  • uuidstringrequired

Query parameters

  • forceRefreshboolean

Responses

200OKapplication/json

  • consumerCountintegerrequired
  • groupIDstringrequired
  • membersobject[]
    Show child attributes
    • clientHoststringrequired
    • clientIDstringrequired
  • readAtstring<date-time>required
  • statestringrequired
  • topicsobject[] | nullrequired
    Show child attributes
    • partitionsobject[] | nullrequired
      Show child attributes
      • committedMessageTimestampstring<date-time>
      • currentOffsetinteger<int64>required
      • laginteger<int64>required
      • logEndOffsetinteger<int64>required
      • partitionintegerrequired
    • topicstringrequired

404Not Found

500Internal Server Error

200 OK
{
  "consumerCount": 123,
  "groupID": "<string>",
  "members": [
    {
      "clientHost": "<string>",
      "clientID": "<string>"
    }
  ],
  "readAt": "2023-11-07T05:31:56Z",
  "state": "<string>",
  "topics": [
    {
      "partitions": [
        {
          "committedMessageTimestamp": "2023-11-07T05:31:56Z",
          "currentOffset": 123,
          "lag": 123,
          "logEndOffset": 123,
          "partition": 123
        }
      ],
      "topic": "<string>"
    }
  ]
}

Was this page helpful?