Migrate from previous KCL versions - Amazon Kinesis Data Streams

Migrate from previous KCL versions

This topic explains how to migrate from previous versions of the Kinesis Client Library (KCL).

What's new in KCL 3.0?

Kinesis Client Library (KCL) 3.0 introduces several major enhancements compared to previous versions:

  • It lowers compute costs for consumer applications by automatically redistributing the work from over-utilized workers to under-utilized workers in the consumer application fleet. This new load balancing algorithm ensures the evenly distributed CPU utilization across workers and removes the need to over-provision workers.

  • It reduces the DynamoDB cost associated with KCL by optimizing read operations on the lease table.

  • It minimizes reprocessing of data when leases are reassigned to another worker by allowing the current worker to complete checkpointing the records that it has processed.

  • It uses AWS SDK for Java 2.x for improved performance and security features, fully removing the dependency on AWS SDK for Java 1.x.

For more information, see KCL 3.0 release note.