awslabs / amazon-kinesis-client

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

Get unassigned leases in leasesToTake #1320

Closed brendan-p-lynch closed 2 months ago

brendan-p-lynch commented 2 months ago

Currently when considering leases to take we only consider leases that are expired. This creates a delay for leases that have no owner unnecessarily. We should instead consider all unassigned leases as a potential lease to take

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