From 8d0e9463eef9d48e685047e6160ee9ed41e387b3 Mon Sep 17 00:00:00 2001 From: Sahil Palvia Date: Thu, 14 Sep 2017 15:15:24 -0700 Subject: [PATCH] Updated the comments as per cr comments. --- .../amazonaws/services/kinesis/leases/impl/LeaseManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java b/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java index a8904918..6a70eb90 100644 --- a/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java +++ b/src/main/java/com/amazonaws/services/kinesis/leases/impl/LeaseManager.java @@ -564,7 +564,7 @@ public class LeaseManager implements ILeaseManager { protected DependencyException convertAndRethrowExceptions(String operation, String leaseKey, AmazonClientException e) throws ProvisionedThroughputException, InvalidStateException { if (e instanceof ProvisionedThroughputExceededException) { - LOG.warn("ProvisionedThroughputExceededException thrown, increase the IOPs on the lease table"); + LOG.warn("Provisioned Throughput on the lease table has been exceeded. It's recommended that you increase the IOPs on the table. Failure to increase the IOPs may cause the application to not make progress."); throw new ProvisionedThroughputException(e); } else if (e instanceof ResourceNotFoundException) { // @formatter:on