diff --git a/pom.xml b/pom.xml index 72c4e63..93cdf6d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ amazon-kinesis-connectors jar Amazon Kinesis Connector Library - 1.3.0 + 1.4.0 The Amazon Kinesis Connector Library helps Java developers integrate Amazon Kinesis with other AWS and non-AWS services. https://aws.amazon.com/kinesis @@ -23,10 +23,11 @@ - 1.7.2 - 1.11.14 + 1.9.0 + 1.11.438 1.2.1 2.6.6 + 3.0.0-M2 @@ -131,10 +132,26 @@ UTF-8 + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven.enforcer.plugin.version} + + + enforce + + + + + + + enforce + + + + - - @@ -145,7 +162,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.5 + 1.6 sign-artifacts diff --git a/src/main/java/com/amazonaws/services/kinesis/connectors/KinesisClientLibraryPipelinedRecordProcessor.java b/src/main/java/com/amazonaws/services/kinesis/connectors/KinesisClientLibraryPipelinedRecordProcessor.java index 856891a..466c8a2 100644 --- a/src/main/java/com/amazonaws/services/kinesis/connectors/KinesisClientLibraryPipelinedRecordProcessor.java +++ b/src/main/java/com/amazonaws/services/kinesis/connectors/KinesisClientLibraryPipelinedRecordProcessor.java @@ -22,6 +22,7 @@ import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; +import com.amazonaws.services.kinesis.clientlibrary.interfaces.IPreparedCheckpointer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -267,6 +268,30 @@ public void checkpoint(String sequenceNumber, long subSequenceNumber) throws Kin InvalidStateException, ThrottlingException, ShutdownException, IllegalArgumentException { throw new UnsupportedOperationException(); } + + @Override + public IPreparedCheckpointer prepareCheckpoint() throws KinesisClientLibDependencyException, + InvalidStateException, ThrottlingException, ShutdownException { + throw new UnsupportedOperationException(); + } + + @Override + public IPreparedCheckpointer prepareCheckpoint(Record record) throws KinesisClientLibDependencyException, + InvalidStateException, ThrottlingException, ShutdownException { + throw new UnsupportedOperationException(); + } + + @Override + public IPreparedCheckpointer prepareCheckpoint(String s) throws KinesisClientLibDependencyException, + InvalidStateException, ThrottlingException, ShutdownException, IllegalArgumentException { + return internalCheckpointer.prepareCheckpoint(s); + } + + @Override + public IPreparedCheckpointer prepareCheckpoint(String s, long l) throws KinesisClientLibDependencyException, + InvalidStateException, ThrottlingException, ShutdownException, IllegalArgumentException { + throw new UnsupportedOperationException(); + } }; } }