You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Amazon Kinesis Client Library for Java**(Amazon KCL) enables Java developers to easily consume and process data from [Amazon Kinesis][kinesis].
4
+
The **Amazon Kinesis Client Library (KCL) for Java** enables Java developers to easily consume and process data from [Amazon Kinesis Data Streams][kinesis].
### Recommended Upgrade for All Users of the 1.x Amazon Kinesis Client
14
-
:warning: We recommend customers to migrate to 1.14.1 or newer to avoid [known bugs](https://github.com/awslabs/amazon-kinesis-client/issues/778) in 1.14.0 version
15
-
16
-
### Recommended Upgrade for All Users of the 2.x Amazon Kinesis Client
17
-
**:warning: It's highly recommended for users of version 2.0 of the Amazon Kinesis Client to upgrade to version 2.0.3 or later. A [bug has been](https://github.com/awslabs/amazon-kinesis-client/issues/391) identified in versions prior to 2.0.3 that could cause records to be delivered to the wrong record processor.**
18
-
19
-
**:information_source: Amazon Kinesis Client versions 1.x are not impacted.**
20
-
21
-
Please open an issue if you have any questions.
13
+
*[Giving Feedback][giving-feedback]
22
14
23
15
## Features
24
16
25
-
* Provides an easy-to-use programming model for processing data using Amazon Kinesis
26
-
* Helps with scale-out and fault-tolerant processing
17
+
***Scalability:** KCL enables applications to scale dynamically by distributing the processing load across multiple workers. You can scale your application in or out, manually or with auto-scaling, without worrying about load redistribution.
18
+
***Load balancing:** KCL automatically balances the processing load across available workers, resulting in an even distribution of work across workers.
19
+
***Checkpointing:** KCL manages checkpointing of processed records, enabling applications to resume processing from their last sucessfully processed position.
20
+
***Fault tolerance:** KCL provides built-in fault tolerance mechanisms, making sure that data processing continues even if individual workers fail. KCL also provides at-least-once delivery.
21
+
***Handling stream-level changes:** KCL adapts to shard splits and merges that might occur due to changes in data volume. It maintains ordering by making sure that child shards are processed only after their parent shard is completed and checkpointed.
22
+
***Monitoring:** KCL integrates with Amazon CloudWatch for consumer-level monitoring.
23
+
***Multi-language support:** KCL natively supports Java and enables multiple non-Java programming languages through MultiLangDaemon.
27
24
28
25
## Getting Started
29
26
30
27
1.**Sign up for AWS**— Before you begin, you need an AWS account. For more information about creating an AWS account and retrieving your AWS credentials, see [AWS Account and Credentials][docs-signup] in the AWS SDK for Java Developer Guide.
31
-
1.**Sign up for Amazon Kinesis**— Go to the Amazon Kinesis console to sign up for the service and create an Amazon Kinesis stream. For more information, see [Create an Amazon Kinesis Stream][kinesis-guide-create] in the Amazon Kinesis Developer Guide.
32
-
1.**Minimum requirements**— To use the Amazon Kinesis Client Library, you'll need **Java 1.8+**. For more information about Amazon Kinesis Client Library requirements, see [Before You Begin][kinesis-guide-begin] in the Amazon Kinesis Developer Guide.
33
-
1.**Using the Amazon Kinesis Client Library**— The best way to get familiar with the Amazon Kinesis Client Library is to read [Developing Record Consumer Applications][kinesis-guide-applications] in the Amazon Kinesis Developer Guide.
28
+
2.**Sign up for Amazon Kinesis**— Go to the Amazon Kinesis console to sign up for the service and create an Amazon Kinesis stream. For more information, see [Create an Amazon Kinesis Stream][kinesis-guide-create] in the Amazon Kinesis Developer Guide.
29
+
3.**Minimum requirements**— To use the Amazon Kinesis Client Library, you will need **Java 1.8+**. For more information about Amazon Kinesis Client Library requirements, see [Before You Begin][kinesis-guide-begin] in the Amazon Kinesis Developer Guide.
30
+
4.**Using the Amazon Kinesis Client Library**— The best way to get familiar with the Amazon Kinesis Client Library is to read [Use Kinesis Client Library][kinesis-guide-applications] in the Amazon Kinesis Data Streams Developer Guide. For more information on core KCL concepts, please refer to the [KCL Concepts][kinesis-client-library-concepts] page.
34
31
35
32
## Building from Source
36
33
37
-
After you've downloaded the code from GitHub, you can build it using Maven. To disable GPG signing in the build, use
38
-
this command: `mvn clean install -Dgpg.skip=true`.
34
+
After you have downloaded the code from GitHub, you can build it using Maven. To disable GPG signing in the build, use
35
+
this command: `mvn clean install -Dgpg.skip=true`.
39
36
Note: This command does not run integration tests.
40
37
41
38
To disable running unit tests in the build, add the property `-Dskip.ut=true`.
@@ -58,7 +55,17 @@ To make it easier for developers to write record processors in other languages,
58
55
## Using the KCL
59
56
The recommended way to use the KCL for Java is to consume it from Maven.
### Recommended Upgrade for All Users of the 1.x Amazon Kinesis Client
101
+
We recommend customers to migrate to 1.14.1 or newer to avoid [known bugs](https://github.com/awslabs/amazon-kinesis-client/issues/778) in 1.14.0 version
102
+
103
+
### Recommended Upgrade for All Users of the 2.x Amazon Kinesis Client
104
+
It's highly recommended for users of version 2.0 of the Amazon Kinesis Client to upgrade to version 2.0.3 or later. A [bug has been](https://github.com/awslabs/amazon-kinesis-client/issues/391) identified in versions prior to 2.0.3 that could cause records to be delivered to the wrong record processor.**
105
+
106
+
## Giving Feedback
107
+
108
+
Help Us Improve the Kinesis Client Library! Your involvement is crucial to enhancing the Kinesis Client Library. We invite you to join our community and contribute in the following ways:
109
+
110
+
*[Issue](https://github.com/awslabs/amazon-kinesis-client/issues) Reporting: This is our preferred method of communication. Use this channel to report bugs, suggest improvements, or ask questions.
111
+
* Feature Requests: Share your ideas for new features or vote for existing proposals on our [Issues](https://github.com/awslabs/amazon-kinesis-client/issues) page. This helps us prioritize development efforts.
112
+
* Participate in Discussions: Engage with other users and our team in our discussion forums.
113
+
* Submit [Pull Requests](https://github.com/awslabs/amazon-kinesis-client/pulls): If you have developed a fix or improvement, we welcome your code contributions.
114
+
115
+
By participating through these channels, you play a vital role in shaping the future of the Kinesis Client Library. We value your input and look forward to collaborating with you!
Copy file name to clipboardexpand all lines: amazon-kinesis-client-multilang/src/main/java/software/amazon/kinesis/multilang/NestedPropertyProcessor.java
+6-6
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
*/
15
15
packagesoftware.amazon.kinesis.multilang;
16
16
17
-
importcom.amazonaws.regions.Regions;
17
+
importsoftware.amazon.awssdk.regions.Region;
18
18
19
19
/**
20
20
* Defines methods to process {@link NestedPropertyKey}s.
@@ -26,11 +26,11 @@ public interface NestedPropertyProcessor {
26
26
*
27
27
* @param serviceEndpoint the service endpoint either with or without the protocol
Copy file name to clipboardexpand all lines: amazon-kinesis-client-multilang/src/main/java/software/amazon/kinesis/multilang/auth/KclSTSAssumeRoleSessionCredentialsProvider.java
0 commit comments