public class BrokerDiscoveryProvider extends Object implements Closeable
| Constructor and Description |
|---|
BrokerDiscoveryProvider(ServiceConfig config,
ZooKeeperClientFactory zkClientFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkAuthorization(DiscoveryService service,
TopicName topicName,
String role,
AuthenticationDataSource authenticationData) |
void |
close() |
static String |
path(String... parts) |
public BrokerDiscoveryProvider(ServiceConfig config, ZooKeeperClientFactory zkClientFactory) throws PulsarServerException
PulsarServerExceptionprotected static void checkAuthorization(DiscoveryService 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.