From eb7b3fd1bbee7692f3571c43ecd007272e481215 Mon Sep 17 00:00:00 2001 From: Sahil Palvia Date: Thu, 18 Oct 2018 10:32:23 -0700 Subject: [PATCH] Release 2.0.4 of the Amazon Kinesis Client for Java (#447) Release 2.0.4 of the Amazon Kinesis Client for Java --- CHANGELOG.md | 15 ++++++++ README.md | 37 ++++++++----------- amazon-kinesis-client-multilang/pom.xml | 2 +- amazon-kinesis-client/pom.xml | 2 +- .../kinesis/retrieval/RetrievalConfig.java | 2 +- pom.xml | 2 +- 6 files changed, 34 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8266d0c1..0abb1b29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +### Release 2.0.4 (October 18, 2018) +[Milestone #25](https://github.com/awslabs/amazon-kinesis-client/milestone/25) +* Added method to retrieve leases from the LeaseCoordinator and LeaseTaker. + * [PR #428](https://github.com/awslabs/amazon-kinesis-client/pull/428) +* Fixed a race condition shutting down the Scheduler before it has completed initialization. + * [PR #439](https://github.com/awslabs/amazon-kinesis-client/pull/439) + * [Issue #427](https://github.com/awslabs/amazon-kinesis-client/issues/427) +* Added `HierarchicalShardSyncer` which replaces the static `ShardSyncer`. + `HierarchicalShardSyncer` removes the contention between multiple instances of the Scheduler when running under a single JVM. + * [PR #395](https://github.com/awslabs/amazon-kinesis-client/pull/395) + * [Issue #415](https://github.com/awslabs/amazon-kinesis-client/issues/415) +* Added `TaskExecutionListener` which allows monitoring of tasks being executed by the `ShardConsumer`. + The listener is invoked before and after a task is executed by the `ShardConsumer`. + * [PR #417](https://github.com/awslabs/amazon-kinesis-client/pull/417) + ### Release 2.0.3 (October 8, 2018) [Milestone #23](https://github.com/awslabs/amazon-kinesis-client/milestone/23) * Fixed an issue where the `KinesisAsyncClient` could be misconfigured to use HTTP 1.1. diff --git a/README.md b/README.md index 74265b74..53bfeadb 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The recommended way to use the KCL for Java is to consume it from Maven. software.amazon.kinesis amazon-kinesis-client - 2.0.3 + 2.0.4 ``` @@ -60,27 +60,20 @@ The recommended way to use the KCL for Java is to consume it from Maven. ## Release Notes -### Latest Release (2.0.3 - October 8, 2018) -[Milestone #23](https://github.com/awslabs/amazon-kinesis-client/milestone/23) -* Fixed an issue where the `KinesisAsyncClient` could be misconfigured to use HTTP 1.1. - Using HTTP 1.1 with `SubscribeToShard` is unsupported, and could cause misdelivery of records to the record processor. - * [Issue #391](https://github.com/awslabs/amazon-kinesis-client/issues/391) - * [PR #434](https://github.com/awslabs/amazon-kinesis-client/pull/434) - * [PR #433](https://github.com/awslabs/amazon-kinesis-client/pull/433) -* Lower the severity of `ReadTimeout` exceptions. - `ReadTimeout` exceptions can occur if the client is unable to request data from Kinesis for more than client timeout, which defaults to 30 seconds. This can occur if the record processor blocks for more than the timeout period. `ReadTimeout` could also occur as part of [Issue #391](https://github.com/awslabs/amazon-kinesis-client/issues/391). - * [Issue #399](https://github.com/awslabs/amazon-kinesis-client/issues/399) - * [PR #403](https://github.com/awslabs/amazon-kinesis-client/pull/403) -* Added a callback that allows applications to take actions after DynamoDB table creation. - Applications can now install a callback that is called after creating the DynamoDB table by implementing `TableCreatorCallback`. - * [PR #413](https://github.com/awslabs/amazon-kinesis-client/pull/413) -* Updated the guava dependency to 26.0-jre. - * [PR #420](https://github.com/awslabs/amazon-kinesis-client/pull/420) - * [Issue #416](https://github.com/awslabs/amazon-kinesis-client/issues/416) -* Added some additional debug logging around the initialization of the `FanOutRecordsPublisher`. - * [PR #398](https://github.com/awslabs/amazon-kinesis-client/pull/398) -* Upgraded AWS SDK version to 2.0.6 - * [PR #434](https://github.com/awslabs/amazon-kinesis-client/pull/434) +### Latest Release (2.0.4 - October 18, 2018) +[Milestone #25](https://github.com/awslabs/amazon-kinesis-client/milestone/25) +* Added method to retrieve leases from the LeaseCoordinator and LeaseTaker. + * [PR #428](https://github.com/awslabs/amazon-kinesis-client/pull/428) +* Fixed a race condition shutting down the Scheduler before it has completed initialization. + * [PR #439](https://github.com/awslabs/amazon-kinesis-client/pull/439) + * [Issue #427](https://github.com/awslabs/amazon-kinesis-client/issues/427) +* Added `HierarchicalShardSyncer` which replaces the static `ShardSyncer`. + `HierarchicalShardSyncer` removes the contention between multiple instances of the Scheduler when running under a single JVM. + * [PR #395](https://github.com/awslabs/amazon-kinesis-client/pull/395) + * [Issue #415](https://github.com/awslabs/amazon-kinesis-client/issues/415) +* Added `TaskExecutionListener` which allows monitoring of tasks being executed by the `ShardConsumer`. + The listener is invoked before and after a task is executed by the `ShardConsumer`. + * [PR #417](https://github.com/awslabs/amazon-kinesis-client/pull/417) ### 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 23626487..dfb3ef87 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.0.4-SNAPSHOT + 2.0.4 4.0.0 diff --git a/amazon-kinesis-client/pom.xml b/amazon-kinesis-client/pom.xml index c81a9d34..47cb68af 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.0.4-SNAPSHOT + 2.0.4 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 346b934e..015c201c 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.0.3"; + public static final String KINESIS_CLIENT_LIB_USER_AGENT_VERSION = "2.0.4"; /** * Client used to make calls to Kinesis for records retrieval diff --git a/pom.xml b/pom.xml index 8c459531..538a39f0 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ amazon-kinesis-client-pom pom Amazon Kinesis Client Library - 2.0.4-SNAPSHOT + 2.0.4 The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis.