Fetch data for the consumer assignments.

GET /consumers/{group_name}/instances/{instance}/records

Path parameters

  • group_name string Required
  • instance string Required

Query parameters

  • timeout integer
  • max_bytes integer

Responses

  • Hide response attribute Show response attribute object
    • records array[object]
      Hide records attributes Show records attributes object
      • topic string
      • key string
      • value string
      • partition integer
      • offset integer
    Hide response attribute Show response attribute object
    • records array[object]
      Hide records attributes Show records attributes object
      • topic string
      • key string
      • value string
      • partition integer
      • offset integer
  • Consumer, topic, or partition not found

    Hide response attributes Show response attributes object
    • error_code integer
    • message string
    Hide response attributes Show response attributes object
    • error_code integer
    • message string
GET /consumers/{group_name}/instances/{instance}/records
curl \
 --request GET 'http://{{Host}}/consumers/{group_name}/instances/{instance}/records'
Response examples (200)
{
  "records": [
    {
      "topic": "string",
      "key": "string",
      "value": "string",
      "partition": 42,
      "offset": 42
    }
  ]
}
Response examples (200)
{
  "records": [
    {
      "topic": "string",
      "key": "string",
      "value": "string",
      "partition": 42,
      "offset": 42
    }
  ]
}
Response examples (404)
{
  "error_code": 42,
  "message": "string"
}
Response examples (404)
{
  "error_code": 42,
  "message": "string"
}