Interface PartitioningStrategy<K>
- Type Parameters:
K- key type accepted by this strategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy hook for deriving the partition key for non-
PartitionAware keys.-
Method Summary
Modifier and TypeMethodDescriptiongetPartitionKey(K key) static PartitioningStrategy<Object> identity()
-
Method Details
-
getPartitionKey
-
identity
-