Skip to content

Commit

Permalink
Added debug logs in KinesisLocalFileDataCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
parijatsinha committed Jan 9, 2018
1 parent f15c0fd commit 1ff00d0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ public static File generateTempDataFile(List<Shard> shardList, int numRecordsPer
maxSequenceNumber = new BigInteger(endingSequenceNumber);
}
if (maxSequenceNumber.compareTo(sequenceNumber) != 1) {
throw new IllegalArgumentException("Not enough space in shard");
throw new IllegalArgumentException("Not enough space in shard. maxSequenceNumber: "
+ maxSequenceNumber.toString() + ", sequenceNumber: " + sequenceNumber.toString()
+ ", sequenceNumberIncrement: " + sequenceNumberIncrement.toString());
}
String partitionKey =
PARTITION_KEY_PREFIX + shard.getShardId() + generateRandomString(PARTITION_KEY_LENGTH);
Expand Down

0 comments on commit 1ff00d0

Please sign in to comment.