PartitionStateStore
is the abstraction of state stores for Partitions to fetch topic configuration and expand or shrink in-sync replicas.
Note
|
ZkPartitionStateStore is the default and only known PartitionStateStore in Apache Kafka.
|
Method | Description |
---|---|
|
expandIsr(
controllerEpoch: Int,
leaderAndIsr: LeaderAndIsr): Option[Int] Used when |
|
fetchTopicConfig(): Properties Used when |
|
shrinkIsr(
controllerEpoch: Int,
leaderAndIsr: LeaderAndIsr): Option[Int] Used when |