Release 2.0.5 of the Amazon Kinesis Client for Java (#465)

This commit is contained in:
Justin Pfifer 2018-11-12 08:54:04 -08:00 committed by GitHub
parent f52f2559ed
commit a05e22f782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 18 deletions

View file

@ -1,5 +1,15 @@
# Changelog # Changelog
### Release 2.0.5 (November 12, 2018)
[Milestone #26](https://github.com/awslabs/amazon-kinesis-client/milestone/26?closed=1)
* Fixed a deadlock condition that could occur when using the polling model.
When using the `PollingConfig` and a slower record processor it was possible to hit a deadlock in the retrieval of records.
* [PR #462](https://github.com/awslabs/amazon-kinesis-client/pull/462)
* [Issue #448](https://github.com/awslabs/amazon-kinesis-client/issues/448)
* Adjusted `RetrievalConfig`, and `FanOutConfig` to use accessors instead of direct member access.
* [PR #453](https://github.com/awslabs/amazon-kinesis-client/pull/453)
### Release 2.0.4 (October 18, 2018) ### Release 2.0.4 (October 18, 2018)
[Milestone #25](https://github.com/awslabs/amazon-kinesis-client/milestone/25) [Milestone #25](https://github.com/awslabs/amazon-kinesis-client/milestone/25)
* Added method to retrieve leases from the LeaseCoordinator and LeaseTaker. * Added method to retrieve leases from the LeaseCoordinator and LeaseTaker.

View file

@ -61,20 +61,14 @@ The recommended way to use the KCL for Java is to consume it from Maven.
## Release Notes ## Release Notes
### Latest Release (2.0.4 - October 18, 2018) ### Latest Release (2.0.5 - November 12, 2018)
[Milestone #25](https://github.com/awslabs/amazon-kinesis-client/milestone/25) [Milestone #26](https://github.com/awslabs/amazon-kinesis-client/milestone/26?closed=1)
* Added method to retrieve leases from the LeaseCoordinator and LeaseTaker. * Fixed a deadlock condition that could occur when using the polling model.
* [PR #428](https://github.com/awslabs/amazon-kinesis-client/pull/428) It was possible to hit a deadlock in the retrieval of records When using the `PollingConfig` and a slow running record processor.
* Fixed a race condition shutting down the Scheduler before it has completed initialization. * [PR #462](https://github.com/awslabs/amazon-kinesis-client/pull/462)
* [PR #439](https://github.com/awslabs/amazon-kinesis-client/pull/439) * [Issue #448](https://github.com/awslabs/amazon-kinesis-client/issues/448)
* [Issue #427](https://github.com/awslabs/amazon-kinesis-client/issues/427) * Adjusted `RetrievalConfig`, and `FanOutConfig` to use accessors instead of direct member access.
* Added `HierarchicalShardSyncer` which replaces the static `ShardSyncer`. * [PR #453](https://github.com/awslabs/amazon-kinesis-client/pull/453)
`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]**. ### For remaining release notes check **[CHANGELOG.md][changelog-md]**.

View file

@ -19,7 +19,7 @@
<parent> <parent>
<artifactId>amazon-kinesis-client-pom</artifactId> <artifactId>amazon-kinesis-client-pom</artifactId>
<groupId>software.amazon.kinesis</groupId> <groupId>software.amazon.kinesis</groupId>
<version>2.0.5-SNAPSHOT</version> <version>2.0.5</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<groupId>software.amazon.kinesis</groupId> <groupId>software.amazon.kinesis</groupId>
<artifactId>amazon-kinesis-client-pom</artifactId> <artifactId>amazon-kinesis-client-pom</artifactId>
<version>2.0.5-SNAPSHOT</version> <version>2.0.5</version>
</parent> </parent>
<artifactId>amazon-kinesis-client</artifactId> <artifactId>amazon-kinesis-client</artifactId>

View file

@ -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 = "amazon-kinesis-client-library-java";
public static final String KINESIS_CLIENT_LIB_USER_AGENT_VERSION = "2.0.4"; public static final String KINESIS_CLIENT_LIB_USER_AGENT_VERSION = "2.0.5";
/** /**
* Client used to make calls to Kinesis for records retrieval * Client used to make calls to Kinesis for records retrieval

View file

@ -20,7 +20,7 @@
<artifactId>amazon-kinesis-client-pom</artifactId> <artifactId>amazon-kinesis-client-pom</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Amazon Kinesis Client Library</name> <name>Amazon Kinesis Client Library</name>
<version>2.0.5-SNAPSHOT</version> <version>2.0.5</version>
<description>The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data <description>The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data
from Amazon Kinesis. from Amazon Kinesis.
</description> </description>