public interface BrokerFilter
| Modifier and Type | Method and Description |
|---|---|
void |
filter(Set<String> brokers,
BundleData bundleToAssign,
LoadData loadData,
ServiceConfiguration conf)
From the given set of available broker candidates, filter those using the load data.
|
void filter(Set<String> brokers, BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) throws BrokerFilterException
brokers - The currently available brokers that have not already been filtered. This set may be modified by
filter.bundleToAssign - The data for the bundle to assign.loadData - The load data from the leader broker.conf - The service configuration.BrokerFilterException - There was an error in the pipeline and the brokers should be reset to their original valueCopyright © 2017–2022 Apache Software Foundation. All rights reserved.