Record

partition-metadata

A partition's replication state.

record partition-metadata {
  id: partition,
  leader: s32,
  replicas: list​<s32>,
  isrs: list​<s32>,
  error: option​<error>,
}

Fields

NameTypeDescription
idpartition
leaders32

Broker id of the leader, or -1 if there is none right now.

replicaslist​<s32>
isrslist​<s32>

Replicas currently in sync. Fewer than replicas means the partition is under-replicated.

erroroption​<error>