- withInstance
Same as #with(ClientProperty,String) for ClientProperty.INSTANCE_ID
- withZkHosts
Same as #with(ClientProperty,String) for ClientProperty.INSTANCE_ZK_HOST
- <init>
Iterates through the Configuration objects, populating this object.
- loadDefault
Attempts to load a configuration file from the system using the default search
paths. Uses theACCUMU
- fromFile
Initializes a configuration object from the contents of a configuration file.
Currently supports Jav
- setProperty
Sets the value of property to value
- withZkTimeout
Same as #with(ClientProperty,String) for ClientProperty.INSTANCE_ZK_TIMEOUT
- create
Initializes an empty configuration object to be further configured with other
methods on the class.
- get
Returns the value for prop, the default value if not present.
- containsKey
- hasSasl
Show whether SASL has been set on this configuration.
- with
Same as #setProperty(ClientProperty,String) but returns the ClientConfiguration
for chaining purpose