awslabs / amazon-kinesis-client

Client library for Amazon Kinesis
Apache License 2.0
635 stars 461 forks source link

Expose veryOldLeaseDurationMultiplier in LeaseManagementConfig #1307

Closed lucienlu-aws closed 3 months ago

lucienlu-aws commented 3 months ago

Issue #, if available:

Description of changes:

Ads a config in LeaseManagementConfig for the veryOldLeaseDurationMultiplier so customers can set the multiplier to consider a lease as "very old" for when the DynamoDbLeaseTaker will prioritize assigning those leases to workers.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.