public void ShardEnded(ShardEndedInput shardEndedInput) { // // Once the shard has ended it means you have processed all records on the shard. To confirm completion the // KCL requires that you checkpoint one final time using the default checkpoint value. // Console.Error.WriteLine( $"All records for {_kinesisShardId} have been processed, starting final checkpoint"); shardEndedInput.Checkpointer.Checkpoint(); }
public void ShardEnded(ShardEndedInput shardEndedInput) { ShardEndedFunc?.Invoke(shardEndedInput); }
public void ShardEnded(ShardEndedInput shardEndedInput) { RecordProcessor.Shutdown(new DefaultShutdownInput(ShutdownReason.TERMINATE, shardEndedInput.Checkpointer)); }