Class StickyPartitionCache
java.lang.Object
org.apache.kafka.clients.producer.internals.StickyPartitionCache
An internal class that implements a cache used for sticky partitioning behavior. The cache tracks the current sticky
partition for any given topic. This class should not be used externally.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintnextPartition(String topic, org.apache.kafka.common.Cluster cluster, int prevPartition) int
-
Constructor Details
-
StickyPartitionCache
public StickyPartitionCache()
-
-
Method Details
-
partition
-
nextPartition
-