| Interface | Description |
|---|---|
| LeaseCoordinator | |
| LeaseManagementFactory | |
| LeaseRefresher |
Supports basic CRUD operations for Leases.
|
| LeaseRenewer |
ILeaseRenewer objects are used by LeaseCoordinator to renew leases held by the LeaseCoordinator.
|
| LeaseSerializer |
Utility class that manages the mapping of Lease objects/operations to records in DynamoDB.
|
| LeaseTaker |
ILeaseTaker is used by LeaseCoordinator to take new leases, or leases that other workers fail to renew.
|
| ShardDetector | |
| ShardPrioritization |
Provides logic to prioritize or filter shards before their execution.
|
| Class | Description |
|---|---|
| DynamoUtils |
Static utility functions used by our LeaseSerializers.
|
| HierarchicalShardSyncer |
Helper class to sync leases with shards of the Kinesis stream.
|
| KinesisShardDetector | |
| Lease |
This class contains data pertaining to a Lease.
|
| LeaseManagementConfig |
Used by the KCL to configure lease management.
|
| NoOpShardPrioritization |
Shard Prioritization that returns the same original list of shards without any modifications.
|
| ParentsFirstShardPrioritization |
Shard Prioritization that prioritizes parent shards first.
|
| ShardInfo |
Used to pass shard related info among different classes and as a key to the map of shard consumers.
|
| ShardSyncTask |
This task syncs leases/activies with shards of the stream.
|
| ShardSyncTaskManager |
The ShardSyncTaskManager is used to track the task to sync shards with leases (create leases for new
Kinesis shards, remove obsolete leases).
|
Copyright © 2019. All rights reserved.