public class BrokerDiscoveryProvider extends Object implements Closeable
| Constructor and Description |
|---|
BrokerDiscoveryProvider(ProxyConfiguration config,
PulsarResources pulsarResources) |
| 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, PulsarResources pulsarResources) 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–2021 Apache Software Foundation. All rights reserved.