diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml
index 4c4e8403..194131df 100644
--- a/src/checkstyle/checkstyle.xml
+++ b/src/checkstyle/checkstyle.xml
@@ -177,6 +177,10 @@
-
+
+
+
+
+
diff --git a/src/main/java/org/springframework/integration/aws/outbound/KplMessageHandler.java b/src/main/java/org/springframework/integration/aws/outbound/KplMessageHandler.java
index 04b11027..5f31ecdd 100644
--- a/src/main/java/org/springframework/integration/aws/outbound/KplMessageHandler.java
+++ b/src/main/java/org/springframework/integration/aws/outbound/KplMessageHandler.java
@@ -100,9 +100,9 @@ public class KplMessageHandler extends AbstractAwsMessageHandler implement
private volatile ScheduledFuture> flushFuture;
- private long maxRecordsInFlight = 0;
+ private long maxInFlightRecords = 0;
- private int maxRecordInFlightsSleepDurationInMillis = 100;
+ private int maxInFlightRecordsDuration = 100;
public KplMessageHandler(KinesisProducer kinesisProducer) {
Assert.notNull(kinesisProducer, "'kinesisProducer' must not be null.");
@@ -121,23 +121,31 @@ public void setConverter(Converter