What is ShareGroupDescribe?
Shows share group state including which members hold which partitions and the current assignment epoch. Share groups are stateful on the broker side (delivery counts, acquisition locks), making this more detailed than consumer group describe.
Wire Diagram
Response Header · flexible
message_size
int32 · 4B
correlation_id
int32 · 4B
tagged
var
ShareGroupDescribeResponse v1
ThrottleTimeMs
int32 · 4B
tagged
var
ErrorCode
int16 · 2B
ErrorMessage?
string (compact)
GroupId
string (compact)
GroupState
string (compact)
GroupEpoch
int32 · 4B
AssignmentEpoch
int32 · 4B
AssignorName
string (compact)
AuthorizedOperations
int32 · 4B
tagged
var
MemberId
string (compact)
RackId?
string (compact)
MemberEpoch
int32 · 4B
ClientId
string (compact)
ClientHost
string (compact)
SubscribedTopicNames
[]string
tagged
var
tagged
var
TopicId
uuid · 16B
TopicName
string (compact)
Partitions
[]int32
tagged
var
Schema & Example
Schema { "ThrottleTimeMs": int32, "Groups": [{ "ErrorCode": int16, "ErrorMessage": string?, "GroupId": string, "GroupState": string, "GroupEpoch": int32, "AssignmentEpoch": int32, "AssignorName": string, "Members": [{ "MemberId": string, "RackId": string?, "MemberEpoch": int32, "ClientId": string, "ClientHost": string, "SubscribedTopicNames": [string], "Assignment": { "TopicPartitions": [{ "TopicId": uuid, "TopicName": string, "Partitions": [int32] }] } }], "AuthorizedOperations": int32 }] }
Example { "ThrottleTimeMs": 0, "Groups": [{ "ErrorCode": 0, "ErrorMessage": null, "GroupId": "order-processors", "GroupState": "Stable", "GroupEpoch": 12, "AssignmentEpoch": 12, "AssignorName": "uniform", "Members": [{ "MemberId": "consumer-1-abc123", "RackId": null, "MemberEpoch": 12, "ClientId": "my-app-producer", "ClientHost": "192.168.1.100", "SubscribedTopicNames": ["value-1", "value-2"], "Assignment": { "TopicPartitions": [{ "TopicId": "550e8400-e29b-41d4-a716-446655440000", "TopicName": "orders", "Partitions": [1, 2, 3] }] } }], "AuthorizedOperations": 2 }] }