Class ClientConfigurationData
java.lang.Object
org.apache.pulsar.client.impl.conf.ClientConfigurationData
- All Implemented Interfaces:
Serializable
,Cloneable
This is a simple holder of the client configuration values.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Gets the authentication settings for the client.long
boolean
isUseTls()
void
setAuthentication
(Authentication authentication) void
setLookupProperties
(Map<String, String> lookupProperties)
-
Constructor Details
-
ClientConfigurationData
public ClientConfigurationData()
-
-
Method Details
-
getAuthentication
Gets the authentication settings for the client.- Returns:
- authentication settings for the client or
AuthenticationDisabled
when auth has not been specified
-
setAuthentication
-
isUseTls
public boolean isUseTls() -
getLookupTimeoutMs
public long getLookupTimeoutMs() -
clone
-
getSocks5ProxyAddress
-
getSocks5ProxyUsername
-
getSocks5ProxyPassword
-
setLookupProperties
-
getLookupProperties
-