Skip to content

Release 2.0.0 of the Amazon Kinesis Client for Ruby

Compare
Choose a tag to compare
@pfifer pfifer released this 26 Feb 20:49
· 52 commits to master since this release
c652ea3

Release 2.0.0 (February 26, 2019)

  • Added support for Enhanced Fan-Out.
    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.
  • Added version 2 of the RecordProcessorBase which supports the new ShardRecordProcessor interface
    • The shutdown method from version 1 has been replaced by lease_lost and shard_ended.
    • Added the lease_lost method which is invoked when a lease is lost.
      lease_lost replaces shutdown(checkpointer, 'ZOMBIE').
    • Added the shard_ended method which is invoked when all records from a split or merge have been processed.
      shard_ended replaces shutdown(checkpointer, 'TERMINATE').
    • Added an optional method, shutdown_requested, 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 example Rakefile supports setting the logging configuration by adding log_configuration=<log configuration file> to the Rake command line.