| Modifier and Type | Method and Description |
|---|---|
default ShardDetector |
LeaseManagementFactory.createShardDetector(StreamConfig streamConfig) |
default ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig)
Deprecated.
This method is never invoked, please remove implementation of this method
as it will be removed in future releases.
|
default ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig,
DeletedStreamListProvider deletedStreamListProvider) |
| 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,
DeletedStreamListProvider deletedStreamListProvider)
Create ShardSyncTaskManager from the streamConfig passed
|
| Constructor and Description |
|---|
DynamoDBLeaseManagementFactory(@NotNull software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
@NotNull software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient dynamoDBClient,
@NotNull String tableName,
@NotNull String workerIdentifier,
@NotNull ExecutorService executorService,
long failoverTimeMillis,
boolean enablePriorityLeaseAssignment,
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,
TableCreatorCallback tableCreatorCallback,
Duration dynamoDbRequestTimeout,
software.amazon.awssdk.services.dynamodb.model.BillingMode billingMode,
boolean leaseTableDeletionProtectionEnabled,
boolean leaseTablePitrEnabled,
Collection<software.amazon.awssdk.services.dynamodb.model.Tag> tags,
@NotNull LeaseSerializer leaseSerializer,
Function<StreamConfig,ShardDetector> customShardDetectorProvider,
boolean isMultiStreamMode,
LeaseCleanupConfig leaseCleanupConfig,
LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig workerUtilizationAwareAssignmentConfig,
LeaseManagementConfig.GracefulLeaseHandoffConfig gracefulLeaseHandoffConfig,
long leaseAssignmentIntervalMillis)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
default StreamConfig |
StreamTracker.createStreamConfig(StreamIdentifier streamIdentifier)
Returns a new
StreamConfig for the provided stream identifier. |
| Modifier and Type | Method and Description |
|---|---|
List<StreamConfig> |
StreamTracker.streamConfigList()
Returns the list of stream config, to be processed by the current application.
|
List<StreamConfig> |
SingleStreamTracker.streamConfigList() |
| Constructor and Description |
|---|
SingleStreamTracker(@NonNull StreamIdentifier streamIdentifier,
@NonNull StreamConfig streamConfig) |
| Modifier and Type | Method and Description |
|---|---|
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory)
Creates a
RecordsPublisher instance to retrieve records for the specified shard. |
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory,
String consumerId) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
FanOutRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
MetricsFactory metricsFactory) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
@NonNull MetricsFactory metricsFactory) |
RecordsPublisher |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
@NonNull MetricsFactory metricsFactory,
String consumerId) |
Copyright © 2025. All rights reserved.