public class MultiLangRecordProcessorFactory extends Object implements IRecordProcessorFactory
MultiLangRecordProcessor's.| Constructor and Description |
|---|
MultiLangRecordProcessorFactory(String command,
ExecutorService executorService,
KinesisClientLibConfiguration configuration) |
MultiLangRecordProcessorFactory(String command,
ExecutorService executorService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
KinesisClientLibConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
IRecordProcessor |
createProcessor()
Returns a record processor to be used for processing data records for a (assigned) shard.
|
public MultiLangRecordProcessorFactory(String command, ExecutorService executorService, KinesisClientLibConfiguration configuration)
command - The command that will do processing for this factory's record processors.executorService - An executor service to use while processing inputs and outputs of the child process.public MultiLangRecordProcessorFactory(String command, ExecutorService executorService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, KinesisClientLibConfiguration configuration)
command - The command that will do processing for this factory's record processors.executorService - An executor service to use while processing inputs and outputs of the child process.objectMapper - An object mapper used to convert messages to json to be written to the child processpublic IRecordProcessor createProcessor()
IRecordProcessorFactorycreateProcessor in interface IRecordProcessorFactoryCopyright © 2021. All rights reserved.