@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 |
|---|---|
protected void |
checkAuthorization(ProxyService service,
TopicName topicName,
String role,
AuthenticationDataSource authenticationData) |
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
PulsarServerExceptionprotected void checkAuthorization(ProxyService service, TopicName topicName, String role, AuthenticationDataSource authenticationData) throws Exception
Exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.