Consumer group with per-partition lag
GET
/api/v1/clusters/{id}/groups/{group}
const url = 'http://localhost:8080/api/v1/clusters/example/groups/example';const options = {method: 'GET', headers: {cookie: 'brokerium_session=<brokerium_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/clusters/example/groups/example \ --cookie brokerium_session=<brokerium_session>Role: viewer.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
group
required
string
Responses
Section titled “Responses”Group detail.
Media typeapplication/json
object
group
string
state
string
protocolType
string
members
integer
totalLag
integer format: int64
error
string
partitions
Array<object>
object
topic
string
partition
integer format: int32
committed
integer format: int64
end
integer format: int64
lag
integer format: int64
member
string
clientId
string
host
string
Example generated
{ "group": "example", "state": "example", "protocolType": "example", "members": 1, "totalLag": 1, "error": "example", "partitions": [ { "topic": "example", "partition": 1, "committed": 1, "end": 1, "lag": 1, "member": "example", "clientId": "example", "host": "example" } ]}Apache®, Apache Kafka® and Kafka® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Brokerium is not affiliated with, endorsed by, or sponsored by the Apache Software Foundation.