public interface ServiceNameResolver
| Modifier and Type | Method and Description |
|---|---|
ServiceURI |
getServiceUri()
Get service uri.
|
String |
getServiceUrl()
Get service url.
|
InetSocketAddress |
resolveHost()
Resolve pulsar service url.
|
URI |
resolveHostUri()
Resolve pulsar service url
|
void |
updateServiceUrl(String serviceUrl)
Update service url.
|
InetSocketAddress resolveHost()
URI resolveHostUri()
String getServiceUrl()
ServiceURI getServiceUri()
void updateServiceUrl(String serviceUrl) throws PulsarClientException.InvalidServiceURL
serviceUrl - service urlPulsarClientException.InvalidServiceURLCopyright © 2017–2021 Apache Software Foundation. All rights reserved.