lease
lease copied to clipboard
Generic lease implementation using DynamoDB
We've found issues when trying to update the lease with extra fields when it has been renewed by the renewer gorutine. Looking into it we've found that it is because...
## Fix: Renewer concurrencyToken was being updated on renewal and it should not be * Don't update `lease.concurrencyToken` on renew if it was already held by the lease. * Do...
for example: | **leaseKey** | **leaseOwner** | **leaseWeight** | **leaseCounter** | | --- | --- | --- | --- | | task 1 | worker 1 | 1 (default) |...
for example, see: [kcl-multilang](https://github.com/awslabs/amazon-kinesis-client/tree/master/src/main/java/com/amazonaws/services/kinesis/multilang)