Skip to content

Commit e493382

Browse files
authored
Merge pull request #255 from awslabs/release-v3.1.0
Prepare for release v3.1.0
2 parents 7414ce6 + 29417e2 commit e493382

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ namespace Sample
7070
For more information about [Amazon Kinesis][amazon-kinesis] and the client libraries, see the
7171
[official documentation][amazon-kinesis-docs] as well as the [Amazon Kinesis forums][kinesis-forum].
7272

73+
## 🚨Important: Migration to .NET KCL 3.1.0 or later with MultiLangDaemon - Credential Provider Changes Required
74+
Java KCL version 2.7.0 and later uses AWS SDK for Java 2.x instead of AWS SDK for Java 1.x. For the KCL .NET 3.x versions,
75+
v3.1.0 is the first .NET release to use Java KCL 2.7.0. All MultiLangDaemon users upgrading from earlier versions must update
76+
their credential provider configuration in the `.properties` file to use credentials provider name for AWS SDK for Java 2.x.
77+
Failure to do this will cause your multilang KCL application to fail during startup with credential provider construction errors.
78+
Please check the following link for the credentials provider mapping and MultiLangDaemon credentials provider configuration guide
79+
80+
- [AWS SDK for Java 1.x to 2.x Credentials Provider Mapping](aws.amazon.com/sdk-for-java/latest/developer-guide/migration-client-credentials.html#credentials-changes-mapping)
81+
- [KCL Multilang Credentials Provider Configuration Guide](https://github.com/aws/amazon-kinesis-client/blob/master/docs/multilang/configuring-credential-providers.md)
82+
7383
## Getting started
7484

7585

@@ -150,6 +160,13 @@ all languages.
150160

151161
## Release Notes
152162

163+
### Release 3.1.0 (March 12, 2025) IMPORTANT: See section ``Migration to .NET KCL 3.1.0`` to ensure upgrading does not break compatibility
164+
* [#1444](https://github.com/awslabs/amazon-kinesis-client/pull/1444) Fully remove dependency on the AWS SDK for Java 1.x which will reach [end-of-support by December 31st, 2025](https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/).
165+
* The Glue Schema Registry integration functionality no longer depends on AWS SDK for Java 1.x. Previously, it required this as a transient dependency.
166+
* Multilangdaemon has been upgraded to use AWS SDK for Java 2.x. It no longer depends on AWS SDK for Java 1.x.
167+
* [#254](https://github.com/awslabs/amazon-kinesis-client-net/pull/254) Upgrade logback.version from 1.3.14 to 1.5.16
168+
* [#254](https://github.com/awslabs/amazon-kinesis-client-net/pull/254) Upgrade netty.version from 4.1.108.Final to 4.1.118.Final
169+
153170
### Release 3.0.2 (January 22, 2025)
154171
* Upgraded amazon-kinesis-client from 2.5.8 to 2.6.1 - [Java 2.6.1 release notes](https://github.com/awslabs/amazon-kinesis-client/releases/tag/v2.6.1)
155172

@@ -184,7 +201,7 @@ all languages.
184201
* Upgraded to use version 2.4.4 of the [Amazon Kinesis Client library][amazon-kcl-github]
185202

186203
### Release 2.0.0 (February 27, 2019)
187-
* Added support for [Enhanced Fan-Out](https://aws.amazon.com/blogs/aws/kds-enhanced-fanout/).
204+
* Added support for [Enhanced Fan-Out](https://aws.amazon.com/blogs/aws/kds-enhanced-fanout/).
188205
Enhanced Fan-Out provides dedicated throughput per stream consumer, and uses an HTTP/2 push API (SubscribeToShard) to deliver records with lower latency.
189206
* Updated the Amazon Kinesis Client Library for Java to version 2.1.2.
190207
* Version 2.1.2 uses 4 additional Kinesis API's
@@ -201,7 +218,7 @@ all languages.
201218
`LeaseLost` replaces `Shutdown` where `ShutdownInput.Reason` was `ShutdownReason.ZOMBIE`.
202219
* Added the `ShardEnded` method which is invoked when all records from a split or merge have been processed.
203220
`ShardEnded` replaces `Shutdown` where `ShutdownInput.Reason` was `ShutdownReason.TERMINATE`.
204-
* Added `ShutdownRequested` which provides the record processor a last chance to checkpoint during the Amazon Kinesis Client Library shutdown process before the lease is canceled.
221+
* Added `ShutdownRequested` which provides the record processor a last chance to checkpoint during the Amazon Kinesis Client Library shutdown process before the lease is canceled.
205222
* To control how long the Amazon Kinesis Client Library waits for the record processors to complete shutdown, add `timeoutInSeconds=<seconds to wait>` to your properties file.
206223
* Updated the AWS Java SDK version to 2.4.0
207224
* MultiLangDaemon now provides logging using Logback.
@@ -239,4 +256,4 @@ all languages.
239256

240257
## License
241258

242-
This library is licensed under the Apache 2.0 License.
259+
This library is licensed under the Apache 2.0 License.

SampleConsumer/kcl.properties

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ streamName = kclnetsample
1212
applicationName = DotNetKinesisSample
1313

1414
# Users can change the credentials provider the KCL will use to retrieve credentials.
15-
# The DefaultAWSCredentialsProviderChain checks several other providers, which is
15+
# Expected key name (case-sensitive):
16+
# AwsCredentialsProvider / AwsCredentialsProviderDynamoDB / AwsCredentialsProviderCloudWatch
17+
# The DefaultCredentialsProvider checks several other providers, which is
1618
# described here:
17-
# http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html
18-
AWSCredentialsProvider = DefaultAWSCredentialsProviderChain
19+
# https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.html
20+
AwsCredentialsProvider = DefaultCredentialsProvider
1921

2022
# Appended to the user agent of the KCL. Does not impact the functionality of the
2123
# KCL in any other way.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<properties>
55
<awssdk.version>2.25.64</awssdk.version>
66
<aws-java-sdk.version>1.12.668</aws-java-sdk.version>
7-
<kcl.version>2.6.1</kcl.version>
7+
<kcl.version>2.7.0</kcl.version>
88
<netty.version>4.1.118.Final</netty.version>
99
<netty-reactive.version>2.0.6</netty-reactive.version>
1010
<fasterxml-jackson.version>2.13.5</fasterxml-jackson.version>

0 commit comments

Comments
 (0)