Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 2.0.0 of the Amazon Kinesis Client for .NET (#33)
* Added support for Enhanced Fan-Out: https://aws.amazon.com/blogs/aws/kds-enhanced-fanout/. Enhanced Fan-Out provides dedicated throughput per stream consumer, and uses an HTTP/2 push API (SubscribeToShard) to deliver records with lower latency. * Updated the Amazon Kinesis Client Library for Java to version 2.1.2. * Version 2.1.2 uses 4 additional Kinesis API's __WARNING: These additional API's may require updating any explicit IAM policies__ * `RegisterStreamConsumer`: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_RegisterStreamConsumer.html * `SubscribeToShard`: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_SubscribeToShard.html * `DescribeStreamConsumer`: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_DescribeStreamConsumer.html * `DescribeStreamSummary`: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_DescribeStreamSummary.html * For more information about Enhanced Fan-Out with the Amazon Kinesis Client Library please see the announcement: https://aws.amazon.com/blogs/aws/kds-enhanced-fanout/ and developer documentation: https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.html. * Added a new record processor interface `IShardRecordProcessor` interface closely matches the Java `ShardRecordProcessor` `IShardRecordProcessor`: https://github.com/awslabs/amazon-kinesis-client-net/blob/95fd04a5702c287358eb3f58057017a6fd96000d/ClientLibrary/IShardRecordProcessor.cs#L18. `ShardRecordProcessor`: https://github.com/awslabs/amazon-kinesis-client/blob/258be9a504a0e179d9cf9e0eaa6e0cf99003578b/amazon-kinesis-client/src/main/java/software/amazon/kinesis/processor/ShardRecordProcessor.java#L27. While the original `IRecordProcessor` interface remains present, and will continue to work it's recommended to upgrade to the newer interface. * The `Shutdown` method from `IRecordProcessor` has been replaced by `LeaseLost` and `ShardEnded`. * Added the `LeaseLost` method which is invoked when a lease is lost. `LeaseLost` replaces `Shutdown` where `ShutdownInput.Reason` was `ShutdownReason.ZOMBIE`. * Added the `ShardEnded` method which is invoked when all records from a split or merge have been processed. `ShardEnded` replaces `Shutdown` where `ShutdownInput.Reason` was `ShutdownReason.TERMINATE`. * 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. * 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. * Updated the AWS Java SDK version to 2.4.0 * MultiLangDaemon now provides logging using Logback. * MultiLangDaemon supports custom configurations for logging via a Logback XML configuration file. * The Bootstrap program was been updated to accept either `-l` or `--log-configuration` to provide a Logback XML configuration file.
- Loading branch information