Interface KafkaSourceEnumerator.SplitOwnerSelector
-
- Enclosing class:
- KafkaSourceEnumerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface KafkaSourceEnumerator.SplitOwnerSelector
Selects the target reader for a split while it is enqueued in pending assignments.The selector is invoked on the coordinator thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetSplitOwner(KafkaPartitionSplit split, int numReaders)
-
-
-
Method Detail
-
getSplitOwner
int getSplitOwner(KafkaPartitionSplit split, int numReaders)
-
-