public class MultiLangDaemonConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_PROXY_ENV_VAR |
static String |
PROXY_HOST_PROP |
static String |
PROXY_PORT_PROP |
| Constructor and Description |
|---|
MultiLangDaemonConfig(String propertiesFile)
Constructor.
|
MultiLangDaemonConfig(String propertiesFile,
ClassLoader classLoader) |
MultiLangDaemonConfig(String propertiesFile,
ClassLoader classLoader,
KinesisClientLibConfigurator configurator) |
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
getExecutorService() |
KinesisClientLibConfiguration |
getKinesisClientLibConfiguration() |
MultiLangRecordProcessorFactory |
getRecordProcessorFactory() |
public static final String PROXY_HOST_PROP
public static final String PROXY_PORT_PROP
public static final String HTTP_PROXY_ENV_VAR
public MultiLangDaemonConfig(String propertiesFile) throws IOException, IllegalArgumentException
propertiesFile - The location of the properties file.IOException - Thrown when the properties file can't be accessed.IllegalArgumentException - Thrown when the contents of the properties file are not as expected.public MultiLangDaemonConfig(String propertiesFile, ClassLoader classLoader) throws IOException, IllegalArgumentException
propertiesFile - The location of the properties file.classLoader - A classloader, useful if trying to programmatically configure with the daemon, such as in a
unit test.IOException - Thrown when the properties file can't be accessed.IllegalArgumentException - Thrown when the contents of the properties file are not as expected.public MultiLangDaemonConfig(String propertiesFile, ClassLoader classLoader, KinesisClientLibConfigurator configurator) throws IOException, IllegalArgumentException
propertiesFile - The location of the properties file.classLoader - A classloader, useful if trying to programmatically configure with the daemon, such as in a
unit test.configurator - A configurator to use.IOException - Thrown when the properties file can't be accessed.IllegalArgumentException - Thrown when the contents of the properties file are not as expected.public KinesisClientLibConfiguration getKinesisClientLibConfiguration()
public ExecutorService getExecutorService()
public MultiLangRecordProcessorFactory getRecordProcessorFactory()
Copyright © 2023. All rights reserved.