public final class StreamManagerClientFactory extends Object
Modifier and Type | Method and Description |
---|---|
StreamManagerClient |
build()
Builds an instance of the StreamManager client
|
static StreamManagerClient |
defaultClient()
Get an instance of the StreamManager client with default config
|
static StreamManagerClientFactory |
standard()
Gets the default builder
|
StreamManagerClientFactory |
withClientConfig(StreamManagerClientConfig config)
Set the config for the StreamManager client
|
public static StreamManagerClientFactory standard()
public StreamManagerClientFactory withClientConfig(StreamManagerClientConfig config)
config
- config for the clientpublic StreamManagerClient build() throws StreamManagerException
StreamManagerException
- if client cannot connect to the serverpublic static StreamManagerClient defaultClient() throws StreamManagerException
StreamManagerException
- if client cannot connect to the server