From 5d183e0197e3123f96149212a4d28f89968a07ba Mon Sep 17 00:00:00 2001 From: Justin Pfifer Date: Mon, 30 Apr 2018 13:18:41 -0700 Subject: [PATCH] Release 1.9.1 of the Amazon Kinesis Client Library for Java (#337) * Release 1.9.1 of the Amazon Kinesis Client Library for Java Updated versions, and added release notes. * Added note about the update of the AWS Java SDK --- CHANGELOG.md | 11 +++++++ META-INF/MANIFEST.MF | 4 +-- README.md | 31 +++++++------------ pom.xml | 4 +-- .../worker/KinesisClientLibConfiguration.java | 2 +- 5 files changed, 27 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ece144c..eebf704f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## Release 1.9.1 (April 30, 2018) +* Added the ability to create a prepared checkpoint when at `SHARD_END`. + * [PR #301](https://github.com/awslabs/amazon-kinesis-client/pull/301) +* Added the ability to subscribe to worker state change events. + * [PR #291](https://github.com/awslabs/amazon-kinesis-client/pull/291) +* Added support for custom lease managers. + A custom `LeaseManager` can be provided to `Worker.Builder` that will be used to provide lease services. + This makes it possible to implement custom lease management systems in addition to the default DynamoDB system. + * [PR #297](https://github.com/awslabs/amazon-kinesis-client/pull/297) +* Updated the version of the AWS Java SDK to 1.11.219 + ## Release 1.9.0 (February 6, 2018) * Introducing support for ListShards API. This API is used in place of DescribeStream API to provide more throughput during ShardSyncTask. Please consult the [AWS Documentation for ListShards](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_ListShards.html) for more information. * ListShards supports higher call rate, which should reduce instances of throttling when attempting to synchronize the shard list. diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF index b9002c99..b928a09f 100644 --- a/META-INF/MANIFEST.MF +++ b/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Amazon Kinesis Client Library for Java Bundle-SymbolicName: com.amazonaws.kinesisclientlibrary;singleton:=true -Bundle-Version: 1.9.0 +Bundle-Version: 1.9.1 Bundle-Vendor: Amazon Technologies, Inc Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.apache.commons.codec;bundle-version="1.6", @@ -12,7 +12,7 @@ Require-Bundle: org.apache.commons.codec;bundle-version="1.6", com.fasterxml.jackson.core.jackson-annotations;bundle-version="2.5.0", org.apache.httpcomponents.httpcore;bundle-version="4.3.3", org.apache.httpcomponents.httpclient;bundle-version="4.3.6" - com.amazonaws.sdk;bundle-version="1.11.14", + com.amazonaws.sdk;bundle-version="1.11.319", Export-Package: com.amazonaws.services.kinesis, com.amazonaws.services.kinesis.clientlibrary, com.amazonaws.services.kinesis.clientlibrary.config, diff --git a/README.md b/README.md index 1458631e..d95854b5 100644 --- a/README.md +++ b/README.md @@ -30,26 +30,17 @@ To make it easier for developers to write record processors in other languages, ## Release Notes -### Latest Release (1.9.0) -* Introducing support for ListShards API. This API is used in place of DescribeStream API to provide more throughput during ShardSyncTask. Please consult the [AWS Documentation for ListShards](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_ListShards.html) for more information. - * ListShards supports higher call rate, which should reduce instances of throttling when attempting to synchronize the shard list. - * __WARNING: `ListShards` is a new API, and may require updating any explicit IAM policies__ - * Added configuration parameters for ListShards usage - - | Name | Default | Description | - | ---- | ------- | ----------- | - | [listShardsBackoffTimeInMillis](https://github.com/awslabs/amazon-kinesis-client/blob/3ae916c5fcdccd6b835c86ba7f6f53dd5b4c8b04/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java#L1412) | 1500 ms | This is the default backoff time between 2 ListShards calls when throttled. | - | [listShardsRetryAttempts](https://github.com/awslabs/amazon-kinesis-client/blob/3ae916c5fcdccd6b835c86ba7f6f53dd5b4c8b04/src/main/java/com/amazonaws/services/kinesis/clientlibrary/lib/worker/KinesisClientLibConfiguration.java#L1423) | 50 | This is the maximum number of times the KinesisProxy will retry to make ListShards calls on being throttled. | - -* Updating the version of AWS Java SDK to 1.11.272. - * Version 1.11.272 is now the minimum support version of the SDK. -* Deprecating the following methods, and classes. These methods, and classes will be removed in a future release. - * Deprecated [IKinesisProxy#getStreamInfo](https://github.com/awslabs/amazon-kinesis-client/blob/3ae916c5fcdccd6b835c86ba7f6f53dd5b4c8b04/src/main/java/com/amazonaws/services/kinesis/clientlibrary/proxies/IKinesisProxy.java#L48-L62). - * Deprecated [IKinesisProxyFactory](https://github.com/awslabs/amazon-kinesis-client/blob/3ae916c5fcdccd6b835c86ba7f6f53dd5b4c8b04/src/main/java/com/amazonaws/services/kinesis/clientlibrary/proxies/IKinesisProxyFactory.java). - * Deprecated [KinesisProxyFactory](https://github.com/awslabs/amazon-kinesis-client/blob/3ae916c5fcdccd6b835c86ba7f6f53dd5b4c8b04/src/main/java/com/amazonaws/services/kinesis/clientlibrary/proxies/KinesisProxyFactory.java). - * Deprecated certain [KinesisProxy](https://github.com/awslabs/amazon-kinesis-client/blob/3ae916c5fcdccd6b835c86ba7f6f53dd5b4c8b04/src/main/java/com/amazonaws/services/kinesis/clientlibrary/proxies/KinesisProxy.java) constructors. - * [PR #293](https://github.com/awslabs/amazon-kinesis-client/pull/293) - +### Latest Release (1.9.1) +* Added the ability to create a prepared checkpoint when at `SHARD_END`. + * [PR #301](https://github.com/awslabs/amazon-kinesis-client/pull/301) +* Added the ability to subscribe to worker state change events. + * [PR #291](https://github.com/awslabs/amazon-kinesis-client/pull/291) +* Added support for custom lease managers. + A custom `LeaseManager` can be provided to `Worker.Builder` that will be used to provide lease services. + This makes it possible to implement custom lease management systems in addition to the default DynamoDB system. + * [PR #297](https://github.com/awslabs/amazon-kinesis-client/pull/297) +* Updated the version of the AWS Java SDK to 1.11.219 + ### For remaining release notes check **[CHANGELOG.md][changelog-md]**. [kinesis]: http://aws.amazon.com/kinesis diff --git a/pom.xml b/pom.xml index 80b7d4ad..2e4488be 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ amazon-kinesis-client jar Amazon Kinesis Client Library for Java - 1.9.1-SNAPSHOT + 1.9.1 The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis. @@ -25,7 +25,7 @@ - 1.11.272 + 1.11.319 1.0.392 libsqlite4java ${project.build.directory}/test-lib 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 2756c803..f7ca6b1d 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.9.0"; + public static final String KINESIS_CLIENT_LIB_USER_AGENT = "amazon-kinesis-client-library-java-1.9.1"; /** * KCL will validate client provided sequence numbers with a call to Amazon Kinesis before checkpointing for calls