Partitionstats
Statistics of partition within a subscription context.
The partition id.
Possible values: non-empty
The state of this partition in current subscription. Currently following values are possible:
unassigned - the partition is currently not assigned to any client.
reassigning - the partition is currently reassigning from one client to another.
assigned - the partition is assigned to a client.
Possible values: non-empty, [assigned, unassigned, reassigning]
The amount of events in this partition that are not yet consumed within this subscription. The property may be absent at the moment when no events were yet consumed from the partition in this subscription (In case of read_from is BEGIN or END). If the event type uses ‘compact’ cleanup policy - then the actual number of unconsumed events can be lower than the one reported in this field.
Subscription consumer lag for this partition in seconds. Measured as the age of the oldest event of this partition that is not yet consumed within this subscription.
The id of the stream that consumes data from this partition.
{
"partition": "string",
"state": "assigned",
"unconsumed_events": 0,
"consumer_lag_seconds": 0,
"stream_id": "string"
}