public class BrokerDiscoveryProvider extends Object implements Closeable
| Constructor and Description |
|---|
BrokerDiscoveryProvider(ProxyConfiguration config,
ZooKeeperClientFactory zkClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkAuthorization(ProxyService service,
TopicName topicName,
String role,
AuthenticationDataSource authenticationData) |
void |
close() |
static String |
path(String... parts) |
public BrokerDiscoveryProvider(ProxyConfiguration config, ZooKeeperClientFactory zkClientFactory) throws PulsarServerException
PulsarServerExceptionprotected static 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–2020 Apache Software Foundation. All rights reserved.