public class MultiLangDaemonConfig
extends java.lang.Object
| Constructor and Description |
|---|
MultiLangDaemonConfig(java.lang.String propertiesFile)
Constructor.
|
MultiLangDaemonConfig(java.lang.String propertiesFile,
java.lang.ClassLoader classLoader) |
MultiLangDaemonConfig(java.lang.String propertiesFile,
java.lang.ClassLoader classLoader,
KinesisClientLibConfigurator configurator) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.ExecutorService |
getExecutorService() |
KinesisClientLibConfiguration |
getKinesisClientLibConfiguration() |
MultiLangRecordProcessorFactory |
getRecordProcessorFactory() |
public MultiLangDaemonConfig(java.lang.String propertiesFile)
throws java.io.IOException,
java.lang.IllegalArgumentException
propertiesFile - The location of the properties file.java.io.IOException - Thrown when the properties file can't be accessed.java.lang.IllegalArgumentException - Thrown when the contents of the properties file are not as expected.public MultiLangDaemonConfig(java.lang.String propertiesFile,
java.lang.ClassLoader classLoader)
throws java.io.IOException,
java.lang.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.java.io.IOException - Thrown when the properties file can't be accessed.java.lang.IllegalArgumentException - Thrown when the contents of the properties file are not as expected.public MultiLangDaemonConfig(java.lang.String propertiesFile,
java.lang.ClassLoader classLoader,
KinesisClientLibConfigurator configurator)
throws java.io.IOException,
java.lang.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.java.io.IOException - Thrown when the properties file can't be accessed.java.lang.IllegalArgumentException - Thrown when the contents of the properties file are not as expected.public KinesisClientLibConfiguration getKinesisClientLibConfiguration()
public java.util.concurrent.ExecutorService getExecutorService()
public MultiLangRecordProcessorFactory getRecordProcessorFactory()