From 2ea2717ae2ae251998c73a7f38ed69c21e600069 Mon Sep 17 00:00:00 2001 From: Justin Pfifer Date: Mon, 18 Feb 2019 15:56:12 -0800 Subject: [PATCH] Release 2.1.2 of the Amazon Kinesis Client Library (#504) https://github.com/awslabs/amazon-kinesis-client/milestone/29 * Fixed handling of the progress detection in the `ShardConsumer` to restart from the last accepted record, instead of the last queued record. * https://github.com/awslabs/amazon-kinesis-client/pull/492 * Fixed handling of exceptions when using polling so that it will no longer treat `SdkException`s as an unexpected exception. * https://github.com/awslabs/amazon-kinesis-client/pull/497 * https://github.com/awslabs/amazon-kinesis-client/pull/502 * Fixed a case where lease loss would block the `Scheduler` while waiting for a record processor's `processRecords` method to complete. * https://github.com/awslabs/amazon-kinesis-client/pull/501 --- CHANGELOG.md | 10 ++++++++++ README.md | 19 ++++++++++--------- amazon-kinesis-client-multilang/pom.xml | 2 +- amazon-kinesis-client/pom.xml | 2 +- .../kinesis/retrieval/RetrievalConfig.java | 2 +- pom.xml | 2 +- 6 files changed, 24 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e71507ba..05f409b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### Release 2.1.2 (February 15, 2019) +[Milestone#29](https://github.com/awslabs/amazon-kinesis-client/milestone/29) +* Fixed handling of the progress detection in the `ShardConsumer` to restart from the last accepted record, instead of the last queued record. + * [PR#492](https://github.com/awslabs/amazon-kinesis-client/pull/492) +* Fixed handling of exceptions when using polling so that it will no longer treat `SdkException`s as an unexpected exception. + * [PR#497](https://github.com/awslabs/amazon-kinesis-client/pull/497) + * [PR#502](https://github.com/awslabs/amazon-kinesis-client/pull/502) +* Fixed a case where lease loss would block the `Scheduler` while waiting for a record processor's `processRecords` method to complete. + * [PR#501](https://github.com/awslabs/amazon-kinesis-client/pull/501) + ### Release 2.1.1 (February 6, 2019) [Milestone#28](https://github.com/awslabs/amazon-kinesis-client/milestone/28) * Introducing `SHUT_DOWN_STARTED` state for the `WorkerStateChangeListener`. diff --git a/README.md b/README.md index e16736f1..8de5dae4 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ The recommended way to use the KCL for Java is to consume it from Maven. software.amazon.kinesis amazon-kinesis-client - 2.1.1 + 2.1.2 ``` @@ -61,14 +61,15 @@ The recommended way to use the KCL for Java is to consume it from Maven. ## Release Notes -### Latest Release (2.1.1 - February 6, 2019) -[Milestone#28](https://github.com/awslabs/amazon-kinesis-client/milestone/28) -* Introducing `SHUT_DOWN_STARTED` state for the `WorkerStateChangeListener`. - * [PR#457](https://github.com/awslabs/amazon-kinesis-client/pull/457) -* Fixed a bug with `AWSSessionCredentials` using `AWSSecretID` instead of `AWSAccessID` and vice versa. - * [PR#486](https://github.com/awslabs/amazon-kinesis-client/pull/486) -* Upgrading SDK version to 2.4.0, which includes a fix for a possible deadlock when using Enhanced Fan-Out. - * [PR#493](https://github.com/awslabs/amazon-kinesis-client/pull/493) +### Latest Release (2.1.2 - February 15, 2019) +[Milestone#29](https://github.com/awslabs/amazon-kinesis-client/milestone/29) +* Fixed handling of the progress detection in the `ShardConsumer` to restart from the last accepted record, instead of the last queued record. + * [PR#492](https://github.com/awslabs/amazon-kinesis-client/pull/492) +* Fixed handling of exceptions when using polling so that it will no longer treat `SdkException`s as an unexpected exception. + * [PR#497](https://github.com/awslabs/amazon-kinesis-client/pull/497) + * [PR#502](https://github.com/awslabs/amazon-kinesis-client/pull/502) +* Fixed a case where lease loss would block the `Scheduler` while waiting for a record processor's `processRecords` method to complete. + * [PR#501](https://github.com/awslabs/amazon-kinesis-client/pull/501) ### For remaining release notes check **[CHANGELOG.md][changelog-md]**. diff --git a/amazon-kinesis-client-multilang/pom.xml b/amazon-kinesis-client-multilang/pom.xml index 45a75654..a6737e0a 100644 --- a/amazon-kinesis-client-multilang/pom.xml +++ b/amazon-kinesis-client-multilang/pom.xml @@ -19,7 +19,7 @@ amazon-kinesis-client-pom software.amazon.kinesis - 2.1.2-SNAPSHOT + 2.1.2 4.0.0 diff --git a/amazon-kinesis-client/pom.xml b/amazon-kinesis-client/pom.xml index 2d1d7f22..45126ea0 100644 --- a/amazon-kinesis-client/pom.xml +++ b/amazon-kinesis-client/pom.xml @@ -20,7 +20,7 @@ software.amazon.kinesis amazon-kinesis-client-pom - 2.1.2-SNAPSHOT + 2.1.2 amazon-kinesis-client diff --git a/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java index cf47625d..5695af2a 100644 --- a/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java +++ b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java @@ -34,7 +34,7 @@ public class RetrievalConfig { */ public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java"; - public static final String KINESIS_CLIENT_LIB_USER_AGENT_VERSION = "2.1.1"; + public static final String KINESIS_CLIENT_LIB_USER_AGENT_VERSION = "2.1.2"; /** * Client used to make calls to Kinesis for records retrieval diff --git a/pom.xml b/pom.xml index 28733ebe..55dd2459 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ amazon-kinesis-client-pom pom Amazon Kinesis Client Library - 2.1.2-SNAPSHOT + 2.1.2 The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis.