Supports basic CRUD operations for Leases.
ILeaseRenewer objects are used by LeaseCoordinator to renew leases held by the LeaseCoordinator.
Utility class that manages the mapping of Lease objects/operations to records in DynamoDB.
ILeaseTaker is used by LeaseCoordinator to take new leases, or leases that other workers fail to renew.
Provides logic to prioritize or filter shards before their execution.
Static utility functions used by our LeaseSerializers.
Helper class to sync leases with shards of the Kinesis stream.
This class contains data pertaining to a Lease.
Helper class to cleanup of any expired/closed shard leases.
Used by the KCL to configure lease management.
Shard Prioritization that returns the same original list of shards without any modifications.
Shard Prioritization that prioritizes parent shards first.
Used to pass shard related info among different classes and as a key to the map of shard consumers.
This task syncs leases/activies with shards of the stream.
The ShardSyncTaskManager is used to track the task to sync shards with leases (create leases for new Kinesis shards, remove obsolete leases).
These are the special fields that will be updated only once during the lifetime of the lease.
Copyright © 2021. All rights reserved.