Issue #211 Application didn't checkpoint at end of shard
This commit is contained in:
parent
3de901ea93
commit
ffe82e2656
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ class RecordProcessorCheckpointer implements IRecordProcessorCheckpointer {
|
|||
checkpointToRecord = ExtendedSequenceNumber.SHARD_END;
|
||||
}
|
||||
// Don't checkpoint a value we already successfully checkpointed
|
||||
if (extendedSequenceNumber != null && !extendedSequenceNumber.equals(lastCheckpointValue)) {
|
||||
if (checkpointToRecord != null && !checkpointToRecord.equals(lastCheckpointValue)) {
|
||||
try {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Setting " + shardInfo.getShardId() + ", token " + shardInfo.getConcurrencyToken()
|
||||
|
|
|
|||
Loading…
Reference in a new issue