Update the Documentation for Shutdown to List Checkpoint Requirements
When the KCL calls shutdown with the reason TERMINATE the customer's application must checkpoint, or the KCL will not make progress.
This commit is contained in:
parent
f0557179f1
commit
ddfd64e40a
1 changed files with 9 additions and 3 deletions
|
|
@ -45,10 +45,16 @@ public interface IRecordProcessor {
|
|||
|
||||
/**
|
||||
* Invoked by the Amazon Kinesis Client Library to indicate it will no longer send data records to this
|
||||
* RecordProcessor instance.
|
||||
* RecordProcessor instance.
|
||||
*
|
||||
* @param shutdownInput Provides information and capabilities (eg checkpointing) related to shutdown of this record
|
||||
* processor.
|
||||
* <h2><b>Warning</b></h2>
|
||||
*
|
||||
* When the value of {@link ShutdownInput#getShutdownReason()} is
|
||||
* {@link com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShutdownReason#TERMINATE} it is required that you
|
||||
* checkpoint. Failure to do so will result in an IllegalArgumentException, and the KCL no longer making progress.
|
||||
*
|
||||
* @param shutdownInput
|
||||
* Provides information and capabilities (eg checkpointing) related to shutdown of this record processor.
|
||||
*/
|
||||
void shutdown(ShutdownInput shutdownInput);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue