public class PulsarServiceNameResolver extends Object implements ServiceNameResolver
ServiceNameResolver.| Constructor and Description |
|---|
PulsarServiceNameResolver() |
| 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.
|
public InetSocketAddress resolveHost()
ServiceNameResolverresolveHost in interface ServiceNameResolverpublic URI resolveHostUri()
ServiceNameResolverresolveHostUri in interface ServiceNameResolverpublic String getServiceUrl()
ServiceNameResolvergetServiceUrl in interface ServiceNameResolverpublic ServiceURI getServiceUri()
ServiceNameResolvergetServiceUri in interface ServiceNameResolverpublic void updateServiceUrl(String serviceUrl) throws PulsarClientException.InvalidServiceURL
ServiceNameResolverupdateServiceUrl in interface ServiceNameResolverserviceUrl - service urlPulsarClientException.InvalidServiceURLCopyright © 2017–2021 Apache Software Foundation. All rights reserved.