@InterfaceStability.Evolving @InterfaceAudience.LimitedPrivate public class BrokerDiscoveryProvider extends Object implements Closeable
| Constructor and Description |
|---|
BrokerDiscoveryProvider(ProxyConfiguration config,
PulsarResources pulsarResources) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<? extends ServiceLookupData> |
getAvailableBrokers()
Access the list of available brokers.
|
public BrokerDiscoveryProvider(ProxyConfiguration config, PulsarResources pulsarResources) throws PulsarServerException
PulsarServerExceptionpublic List<? extends ServiceLookupData> getAvailableBrokers() throws PulsarServerException
PulsarServerExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.