Class CappedSplitCountStrategy
java.lang.Object
com.linkedin.venice.vpj.pubsub.input.splitter.CappedSplitCountStrategy
- All Implemented Interfaces:
PubSubTopicPartitionSplitStrategy
Splits a
PubSubTopicPartition
into multiple splits,
with the total number of splits capped at a configured maximum.
The size of each split is calculated by dividing the total record
count by this maximum.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CappedSplitCountStrategy
public CappedSplitCountStrategy()
-
-
Method Details
-
split
- Specified by:
split
in interfacePubSubTopicPartitionSplitStrategy
-