Skip to main content
Version: 8.9 (unreleased)

Type Alias: Partition

type Partition = object;

Defined in: gen/types.gen.ts:1323

Provides information on a partition within a broker node.

Properties

health

health: "healthy" | "unhealthy" | "dead";

Defined in: gen/types.gen.ts:1335

Describes the current health of the partition.


partitionId

partitionId: number;

Defined in: gen/types.gen.ts:1327

The unique ID of this partition.


role

role: "leader" | "follower" | "inactive";

Defined in: gen/types.gen.ts:1331

Describes the Raft role of the broker for a given partition.