From 01d0e5cc55cdc5a565ad7a100782f2489b7e50a1 Mon Sep 17 00:00:00 2001 From: chenylee-aws <122478603+chenylee-aws@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:01:36 -0700 Subject: [PATCH] Preparation for v3.0.1 (#1402) --- CHANGELOG.md | 10 ++++++++++ README.md | 2 +- amazon-kinesis-client-multilang/pom.xml | 2 +- amazon-kinesis-client/pom.xml | 2 +- .../amazon/kinesis/retrieval/RetrievalConfig.java | 2 +- .../kinesis/schemaregistry/SchemaRegistryDecoder.java | 2 +- pom.xml | 2 +- 7 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index babae380a..408712ed4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 284e71b65..00082fd4e 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ The recommended way to use the KCL for Java is to consume it from Maven. software.amazon.kinesis amazon-kinesis-client - 3.0.0 + 3.0.1 ``` diff --git a/amazon-kinesis-client-multilang/pom.xml b/amazon-kinesis-client-multilang/pom.xml index cdc5f832d..d7ca1b55f 100644 --- a/amazon-kinesis-client-multilang/pom.xml +++ b/amazon-kinesis-client-multilang/pom.xml @@ -21,7 +21,7 @@ amazon-kinesis-client-pom software.amazon.kinesis - 3.0.1-SNAPSHOT + 3.0.1 4.0.0 diff --git a/amazon-kinesis-client/pom.xml b/amazon-kinesis-client/pom.xml index 9e31537bf..bf140b738 100644 --- a/amazon-kinesis-client/pom.xml +++ b/amazon-kinesis-client/pom.xml @@ -23,7 +23,7 @@ software.amazon.kinesis amazon-kinesis-client-pom - 3.0.1-SNAPSHOT + 3.0.1 amazon-kinesis-client diff --git a/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java index 54b5a8c06..42dab6dee 100644 --- a/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java +++ b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/retrieval/RetrievalConfig.java @@ -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 diff --git a/amazon-kinesis-client/src/main/java/software/amazon/kinesis/schemaregistry/SchemaRegistryDecoder.java b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/schemaregistry/SchemaRegistryDecoder.java index cfcfba0ee..6c3565603 100644 --- a/amazon-kinesis-client/src/main/java/software/amazon/kinesis/schemaregistry/SchemaRegistryDecoder.java +++ b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/schemaregistry/SchemaRegistryDecoder.java @@ -14,7 +14,7 @@ */ @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) { diff --git a/pom.xml b/pom.xml index a0196fab9..275460fe4 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ amazon-kinesis-client-pom pom Amazon Kinesis Client Library - 3.0.1-SNAPSHOT + 3.0.1 The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data from Amazon Kinesis.