public class MultiLangDaemonConfig extends Object
| 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 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 © 2017. All rights reserved.