Updated logging message around ShardEnd checkpointing failures (#590)

This commit is contained in:
Micah Jaffe 2019-08-13 11:49:40 -07:00 committed by Sahil Palvia
parent 41f996b833
commit 0e910a1dbc

View file

@ -114,7 +114,8 @@ class ShutdownTask implements ITask {
if ((lastCheckpointValue == null)
|| (!lastCheckpointValue.equals(ExtendedSequenceNumber.SHARD_END))) {
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.");