Package | Description |
---|---|
software.amazon.kinesis.leases | |
software.amazon.kinesis.leases.dynamodb | |
software.amazon.kinesis.leases.exceptions | |
software.amazon.kinesis.lifecycle |
Modifier and Type | Class and Description |
---|---|
class |
KinesisShardDetector |
Modifier and Type | Method and Description |
---|---|
ShardDetector |
LeaseManagementFactory.createShardDetector() |
default ShardDetector |
LeaseManagementFactory.createShardDetector(StreamConfig streamConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
List<software.amazon.awssdk.services.kinesis.model.Shard> latestShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope,
boolean isLeaseTableEmpty) |
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
MetricsScope scope,
boolean ignoreUnexpectedChildShards,
boolean isLeaseTableEmpty)
Check and create leases for any new shards (e.g.
|
Constructor and Description |
---|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory)
Constructor.
|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
MetricsFactory metricsFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ShardDetector |
DynamoDBLeaseManagementFactory.createShardDetector()
Deprecated.
|
ShardDetector |
DynamoDBLeaseManagementFactory.createShardDetector(StreamConfig streamConfig)
KinesisShardDetector supports reading from service only using streamName.
|
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 |
---|---|
static void |
ShardSyncer.checkAndCreateLeasesForNewShards(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
Deprecated.
|
Constructor and Description |
---|
ProcessTask(ShardInfo shardInfo,
ShardRecordProcessor shardRecordProcessor,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
ShardDetector shardDetector,
ThrottlingReporter throttlingReporter,
ProcessRecordsInput processRecordsInput,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
AggregatorUtil aggregatorUtil,
MetricsFactory metricsFactory,
SchemaRegistryDecoder schemaRegistryDecoder) |
Copyright © 2021. All rights reserved.