Variant

rebalance-event

A change to this consumer's assignment.

variant rebalance-event {
  assign(list​<partition-ref>),
  revoke(list​<partition-ref>),
  lost(list​<partition-ref>),
}

Cases

CasePayloadDescription
assignlist​<partition-ref>

Partitions being added. Accept with assign under the eager protocol, or incremental-assign under cooperative.

revokelist​<partition-ref>

Partitions being taken away. Commit progress on them first — once acknowledged, their offsets can no longer be committed.

lostlist​<partition-ref>

The assignment was lost without a clean revoke, typically after falling out of the group. Offsets for these partitions can no longer be committed and another member may already own them.