Skip to content

Commit

Permalink
Release 2.1.2 of the Amazon Kinesis Client Library
Browse files Browse the repository at this point in the history
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.
  * awslabs#492
* Fixed handling of exceptions when using polling so that it will no longer treat `SdkException`s as an unexpected exception.
  * awslabs#497
  * awslabs#502
* Fixed a case where lease loss would block the `Scheduler` while waiting for a record processor's `processRecords` method to complete.
  * awslabs#501
  • Loading branch information
pfifer committed Feb 18, 2019
1 parent 61f54eb commit 019d300
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 13 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The recommended way to use the KCL for Java is to consume it from Maven.
<dependency>
<groupId>software.amazon.kinesis</groupId>
<artifactId>amazon-kinesis-client</artifactId>
<version>2.1.1</version>
<version>2.1.2</version>
</dependency>
```

Expand All @@ -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]**.

Expand Down
2 changes: 1 addition & 1 deletion amazon-kinesis-client-multilang/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<artifactId>amazon-kinesis-client-pom</artifactId>
<groupId>software.amazon.kinesis</groupId>
<version>2.1.2-SNAPSHOT</version>
<version>2.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion amazon-kinesis-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>software.amazon.kinesis</groupId>
<artifactId>amazon-kinesis-client-pom</artifactId>
<version>2.1.2-SNAPSHOT</version>
<version>2.1.2</version>
</parent>

<artifactId>amazon-kinesis-client</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<artifactId>amazon-kinesis-client-pom</artifactId>
<packaging>pom</packaging>
<name>Amazon Kinesis Client Library</name>
<version>2.1.2-SNAPSHOT</version>
<version>2.1.2</version>
<description>The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data
from Amazon Kinesis.
</description>
Expand Down

0 comments on commit 019d300

Please sign in to comment.