public class BrokerDiscoveryProvider extends Object implements Closeable
| 构造器和说明 |
|---|
BrokerDiscoveryProvider(ProxyConfiguration config,
ZooKeeperClientFactory zkClientFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
protected static void checkAuthorization(ProxyService service, TopicName topicName, String role, AuthenticationDataSource authenticationData) throws Exception
Exceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2017–2019 Apache Software Foundation. All rights reserved.