| Modifier and Type | Method and Description |
|---|---|
default ShardDetector |
LeaseManagementFactory.createShardDetector(StreamConfig streamConfig) |
default ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig) |
| Modifier and Type | Method and Description |
|---|---|
ShardDetector |
DynamoDBLeaseManagementFactory.createShardDetector(StreamConfig streamConfig)
KinesisShardDetector supports reading from service only using streamName.
|
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig)
Create ShardSyncTaskManager from the streamConfig passed
|
| Constructor and Description |
|---|
DynamoDBLeaseManagementFactory(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient dynamoDBClient,
String tableName,
String workerIdentifier,
ExecutorService executorService,
long failoverTimeMillis,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewalThreads,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIntervalMillis,
boolean consistentReads,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
int maxCacheMissesBeforeReload,
long listShardsCacheAllowedAgeInSeconds,
int cacheMissWarningModulus,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
HierarchicalShardSyncer deprecatedHierarchicalShardSyncer,
TableCreatorCallback tableCreatorCallback,
Duration dynamoDbRequestTimeout,
software.amazon.awssdk.services.dynamodb.model.BillingMode billingMode,
LeaseSerializer leaseSerializer,
Function<StreamConfig,ShardDetector> customShardDetectorProvider,
boolean isMultiStreamMode,
LeaseCleanupConfig leaseCleanupConfig)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<StreamConfig> |
MultiStreamTracker.streamConfigList()
Returns the list of stream config, to be processed by the current application.
|
| Modifier and Type | Method and Description |
|---|---|
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
FanOutRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory) |
Copyright © 2021. All rights reserved.