Preparation for v3.0.1 (#1402)

This commit is contained in:
chenylee-aws 2024-11-14 17:01:36 -07:00 committed by GitHub
parent 3facf303bf
commit 01d0e5cc55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 16 additions and 6 deletions

View file

@ -5,6 +5,16 @@ For **1.x** release notes, please see [v1.x/CHANGELOG.md](https://github.com/aws
For **2.x** release notes, please see [v2.x/CHANGELOG.md](https://github.com/awslabs/amazon-kinesis-client/blob/v2.x/CHANGELOG.md)
---
### Release 3.0.1 (November 14, 2024)
* [#1401](https://github.com/awslabs/amazon-kinesis-client/pull/1401) Fixed the lease graceful handoff behavior in the multi-stream processing mode
* [#1398](https://github.com/awslabs/amazon-kinesis-client/pull/1398) Addressed several KCL 3.0 related issues raised via GitHub
* Fixed transitive dependencies and added a Maven plugin to catch potential transitive dependency issues at build time
* Removed the redundant shutdown of the leaseCoordinatorThreadPool
* Fixed typo THROUGHOUT_PUT_KBPS
* Fixed issues in scheduler shutdown sequence
* Note: If you are using [multi-stream processing with KCL](https://docs.aws.amazon.com/streams/latest/dev/kcl-multi-stream.html), you need to use the release 3.0.1 or later.
### Release 3.0.0 (November 06, 2024)
* New lease assignment / load balancing algorithm
* KCL 3.x introduces a new lease assignment and load balancing algorithm. It assigns leases among workers based on worker utilization metrics and throughput on each lease, replacing the previous lease count-based lease assignment algorithm.

View file

@ -60,7 +60,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>3.0.0</version>
<version>3.0.1</version>
</dependency>
```

View file

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

View file

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

View file

@ -49,7 +49,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 = "3.0.1-SNAPSHOT";
public static final String KINESIS_CLIENT_LIB_USER_AGENT_VERSION = "3.0.1";
/**
* Client used to make calls to Kinesis for records retrieval

View file

@ -14,7 +14,7 @@ import software.amazon.kinesis.retrieval.KinesisClientRecord;
*/
@Slf4j
public class SchemaRegistryDecoder {
private static final String USER_AGENT_APP_NAME = "kcl" + "-" + "3.0.0";
private static final String USER_AGENT_APP_NAME = "kcl" + "-" + "3.0.1";
private final GlueSchemaRegistryDeserializer glueSchemaRegistryDeserializer;
public SchemaRegistryDecoder(GlueSchemaRegistryDeserializer glueSchemaRegistryDeserializer) {

View file

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