public class MultiLangRecordProcessor extends Object implements IRecordProcessor
MultiLangProtocol object and calling the appropriate methods on
that object when its corresponding initialize(com.amazonaws.services.kinesis.clientlibrary.types.InitializationInput), processRecords(com.amazonaws.services.kinesis.clientlibrary.types.ProcessRecordsInput), and shutdown(com.amazonaws.services.kinesis.clientlibrary.types.ShutdownInput) methods are
called.| Modifier and Type | Method and Description |
|---|---|
void |
initialize(InitializationInput initializationInput)
Invoked by the Amazon Kinesis Client Library before data records are delivered to the RecordProcessor instance
(via processRecords).
|
void |
processRecords(ProcessRecordsInput processRecordsInput)
Process data records.
|
void |
shutdown(ShutdownInput shutdownInput)
Invoked by the Amazon Kinesis Client Library to indicate it will no longer send data records to this
RecordProcessor instance.
|
public void initialize(InitializationInput initializationInput)
IRecordProcessorinitialize in interface IRecordProcessorinitializationInput - Provides information related to initializationpublic void processRecords(ProcessRecordsInput processRecordsInput)
IRecordProcessorprocessRecords in interface IRecordProcessorprocessRecordsInput - Provides the records to be processed as well as information and capabilities related
to them (eg checkpointing).public void shutdown(ShutdownInput shutdownInput)
IRecordProcessorshutdown in interface IRecordProcessorshutdownInput - Provides information and capabilities (eg checkpointing) related to shutdown of this record
processor.Copyright © 2017. All rights reserved.