public class BundleSplitterTask extends Object implements BundleSplitStrategy
| Constructor and Description |
|---|
BundleSplitterTask()
Construct a BundleSplitterTask.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
findBundlesToSplit(LoadData loadData,
PulsarService pulsar)
Determines which bundles should be split based on various thresholds.
|
public Set<String> findBundlesToSplit(LoadData loadData, PulsarService pulsar)
findBundlesToSplit in interface BundleSplitStrategyloadData - Load data to base decisions on (does not have benefit of preallocated data since this may not be the
leader broker).pulsar - Service to use.Copyright © 2017–2022 Apache Software Foundation. All rights reserved.