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
3f77bc5936
commit
5de3bf8909
1 changed files with 9 additions and 3 deletions
|
|
@ -47,8 +47,14 @@ public interface IRecordProcessor {
|
|||
* Invoked by the Amazon Kinesis Client Library to indicate it will no longer send data records to this
|
||||
* 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