Updated logging message around ShardEnd checkpointing failures (#590)
This commit is contained in:
parent
41f996b833
commit
0e910a1dbc
1 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,8 @@ class ShutdownTask implements ITask {
|
||||||
if ((lastCheckpointValue == null)
|
if ((lastCheckpointValue == null)
|
||||||
|| (!lastCheckpointValue.equals(ExtendedSequenceNumber.SHARD_END))) {
|
|| (!lastCheckpointValue.equals(ExtendedSequenceNumber.SHARD_END))) {
|
||||||
throw new IllegalArgumentException("Application didn't checkpoint at end of shard "
|
throw new IllegalArgumentException("Application didn't checkpoint at end of shard "
|
||||||
+ shardInfo.getShardId());
|
+ shardInfo.getShardId() + ". Application must checkpoint upon shutdown. " +
|
||||||
|
"See IRecordProcessor.shutdown javadocs for more information.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LOG.debug("Shutting down retrieval strategy.");
|
LOG.debug("Shutting down retrieval strategy.");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue