From aa3ab52cdf188954750d3d349c4add6a7ddbabd5 Mon Sep 17 00:00:00 2001 From: micah-jaffe Date: Tue, 6 Aug 2019 14:20:21 -0700 Subject: [PATCH 1/3] Preparation for v1.11.0 --- CHANGELOG.md | 12 +++++++++++- README.md | 13 +++++++++---- pom.xml | 2 +- .../lib/worker/KinesisClientLibConfiguration.java | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 028210ac..397f0fa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog -### Release 1.10.0 (April 8, 2019) +## Release 1.11.0 (August 7, 2019) +[Milestone#33](https://github.com/awslabs/amazon-kinesis-client/milestone/33) +* Updated the version of the AWS Java SDK to 1.11.603 +* Improved exception handling and logging in `KinesisClientLibLeaseCoordinator` to avoid `NullPointerExceptions` when no leases are found. + * [Issue #476](https://github.com/awslabs/amazon-kinesis-client/issues/476) + * [PR #558](https://github.com/awslabs/amazon-kinesis-client/pull/558) +* Introducing new periodic shard sync strategy to perform shard discovery and lease cleanup on a single worker, rather than the default of all workers. This change allows horizontal scaling of KCL fleet without increasing calls to `DescribeStream` or `ListShard` APIs. + * [PR #576](https://github.com/awslabs/amazon-kinesis-client/pull/576) + * [PR #579](https://github.com/awslabs/amazon-kinesis-client/pull/579) + +## Release 1.10.0 (April 8, 2019) [Milestone#31](https://github.com/awslabs/amazon-kinesis-client/milestone/31) * Updated License to [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) * [PR#522](https://github.com/awslabs/amazon-kinesis-client/pull/522) diff --git a/README.md b/README.md index 22fbb8c7..371deb72 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,15 @@ To make it easier for developers to write record processors in other languages, ## Release Notes -### Latest Release (1.10.0 - April 8, 2019) -[Milestone#31](https://github.com/awslabs/amazon-kinesis-client/milestone/31) -* Updated License to [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) - * [PR#522](https://github.com/awslabs/amazon-kinesis-client/pull/522) +### Latest Release (1.11.0 - August 7, 2019) +[Milestone#33](https://github.com/awslabs/amazon-kinesis-client/milestone/33) +* Updated the version of the AWS Java SDK to 1.11.603 +* Improved exception handling and logging in `KinesisClientLibLeaseCoordinator` to avoid `NullPointerExceptions` when no leases are found. + * [Issue #476](https://github.com/awslabs/amazon-kinesis-client/issues/476) + * [PR #558](https://github.com/awslabs/amazon-kinesis-client/pull/558) +* Introducing new periodic shard sync strategy to perform shard discovery and lease cleanup on a single worker, rather than the default of all workers. This change allows horizontal scaling of KCL fleet without increasing calls to `DescribeStream` or `ListShard` APIs. + * [PR #576](https://github.com/awslabs/amazon-kinesis-client/pull/576) + * [PR #579](https://github.com/awslabs/amazon-kinesis-client/pull/579) ### For remaining release notes check **[CHANGELOG.md][changelog-md]**. diff --git a/pom.xml b/pom.xml index 8990b54b..ff8d71f0 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ amazon-kinesis-client jar Amazon Kinesis Client Library for Java - 1.10.1-SNAPSHOT + 1.11.0 The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis. diff --git a/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java b/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java index 4339c358..7d32400d 100644 --- a/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java +++ b/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java @@ -126,7 +126,7 @@ public class KinesisClientLibConfiguration { /** * User agent set when Amazon Kinesis Client Library makes AWS requests. */ - public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.10.1-SNAPSHOT"; + public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.11.0"; /** * KCL will validate client provided sequence numbers with a call to Amazon Kinesis before checkpointing for calls From d4b72f9f49dc3ab63be69dc9c8b6cdaf1783a8b8 Mon Sep 17 00:00:00 2001 From: Micah Jaffe Date: Wed, 7 Aug 2019 10:09:22 -0700 Subject: [PATCH 2/3] Update wording --- CHANGELOG.md | 4 +--- README.md | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 397f0fa4..f8dd8de0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,8 @@ [Milestone#33](https://github.com/awslabs/amazon-kinesis-client/milestone/33) * Updated the version of the AWS Java SDK to 1.11.603 * Improved exception handling and logging in `KinesisClientLibLeaseCoordinator` to avoid `NullPointerExceptions` when no leases are found. - * [Issue #476](https://github.com/awslabs/amazon-kinesis-client/issues/476) * [PR #558](https://github.com/awslabs/amazon-kinesis-client/pull/558) -* Introducing new periodic shard sync strategy to perform shard discovery and lease cleanup on a single worker, rather than the default of all workers. This change allows horizontal scaling of KCL fleet without increasing calls to `DescribeStream` or `ListShard` APIs. - * [PR #576](https://github.com/awslabs/amazon-kinesis-client/pull/576) +* Introducing optional new periodic shard sync strategy to perform shard discovery and lease cleanup on a single worker. * [PR #579](https://github.com/awslabs/amazon-kinesis-client/pull/579) ## Release 1.10.0 (April 8, 2019) diff --git a/README.md b/README.md index 371deb72..9c5bff69 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,8 @@ To make it easier for developers to write record processors in other languages, [Milestone#33](https://github.com/awslabs/amazon-kinesis-client/milestone/33) * Updated the version of the AWS Java SDK to 1.11.603 * Improved exception handling and logging in `KinesisClientLibLeaseCoordinator` to avoid `NullPointerExceptions` when no leases are found. - * [Issue #476](https://github.com/awslabs/amazon-kinesis-client/issues/476) * [PR #558](https://github.com/awslabs/amazon-kinesis-client/pull/558) -* Introducing new periodic shard sync strategy to perform shard discovery and lease cleanup on a single worker, rather than the default of all workers. This change allows horizontal scaling of KCL fleet without increasing calls to `DescribeStream` or `ListShard` APIs. - * [PR #576](https://github.com/awslabs/amazon-kinesis-client/pull/576) +* Introducing optional new periodic shard sync strategy to perform shard discovery and lease cleanup on a single worker. * [PR #579](https://github.com/awslabs/amazon-kinesis-client/pull/579) ### For remaining release notes check **[CHANGELOG.md][changelog-md]**. From 317dc1ae847a0e473b017d5fee05ea1087d9e7c0 Mon Sep 17 00:00:00 2001 From: Micah Jaffe Date: Wed, 7 Aug 2019 17:15:58 -0700 Subject: [PATCH 3/3] Update snapshot version --- pom.xml | 2 +- .../clientlibrary/lib/worker/KinesisClientLibConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ff8d71f0..6e76b2c1 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ amazon-kinesis-client jar Amazon Kinesis Client Library for Java - 1.11.0 + 1.11.1-SNAPSHOT The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis. diff --git a/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java b/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java index 7d32400d..c4c623ae 100644 --- a/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java +++ b/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java @@ -126,7 +126,7 @@ public class KinesisClientLibConfiguration { /** * User agent set when Amazon Kinesis Client Library makes AWS requests. */ - public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.11.0"; + public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.11.1-SNAPSHOT"; /** * KCL will validate client provided sequence numbers with a call to Amazon Kinesis before checkpointing for calls