| Constructor and Description |
|---|
MigrationReadyMonitor(MetricsFactory metricsFactory,
Callable<Long> timeProvider,
LeaderDecider leaderDecider,
String currentWorkerId,
WorkerMetricStatsDAO workerMetricStatsDAO,
long workerMetricsExpirySeconds,
LeaseRefresher leaseRefresher,
ScheduledExecutorService stateMachineThreadPool,
Runnable callback,
long callbackStabilizationInSeconds) |
MigrationStateMachineImpl(MetricsFactory metricsFactory,
Callable<Long> timeProvider,
CoordinatorStateDAO coordinatorStateDAO,
ScheduledExecutorService stateMachineThreadPool,
CoordinatorConfig.ClientVersionConfig clientVersionConfig,
Random random,
DynamicMigrationComponentsInitializer initializer,
String workerId,
long flipTo3XStabilizerTimeInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
static DynamoDBLockBasedLeaderDecider |
DynamoDBLockBasedLeaderDecider.create(CoordinatorStateDAO coordinatorStateDao,
String workerId,
MetricsFactory metricsFactory) |
| Constructor and Description |
|---|
MigrationAdaptiveLeaderDecider(MetricsFactory metricsFactory) |
| Modifier and Type | Method and Description |
|---|---|
MetricsFactory |
LeaseManagementConfig.metricsFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
LeaseCleanupManager |
LeaseManagementFactory.createLeaseCleanupManager(MetricsFactory metricsFactory) |
LeaseCoordinator |
LeaseManagementFactory.createLeaseCoordinator(MetricsFactory metricsFactory) |
default LeaseCoordinator |
LeaseManagementFactory.createLeaseCoordinator(MetricsFactory metricsFactory,
ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap) |
default ShardSyncTaskManager |
LeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory)
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)
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) |
LeaseManagementConfig |
LeaseManagementConfig.metricsFactory(MetricsFactory metricsFactory)
Deprecated.
|
| 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.
This constructor is deprecated and will be removed in a future release.
|
| Modifier and Type | Field and Description |
|---|---|
protected MetricsFactory |
DynamoDBLeaseCoordinator.metricsFactory |
| Modifier and Type | Method and Description |
|---|---|
LeaseCleanupManager |
DynamoDBLeaseManagementFactory.createLeaseCleanupManager(MetricsFactory metricsFactory)
LeaseCleanupManager cleans up leases in the lease table for shards which have either expired past the
stream's retention period or have been completely processed.
|
LeaseCoordinator |
DynamoDBLeaseManagementFactory.createLeaseCoordinator(@NonNull MetricsFactory metricsFactory) |
LeaseCoordinator |
DynamoDBLeaseManagementFactory.createLeaseCoordinator(@NonNull MetricsFactory metricsFactory,
@NonNull ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap) |
ShardSyncTaskManager |
DynamoDBLeaseManagementFactory.createShardSyncTaskManager(MetricsFactory metricsFactory,
StreamConfig streamConfig,
DeletedStreamListProvider deletedStreamListProvider)
Create ShardSyncTaskManager from the streamConfig passed
|
| Constructor and Description |
|---|
DynamoDBLeaseCoordinator(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
boolean enablePriorityLeaseAssignment,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewerThreadCount,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
MetricsFactory metricsFactory,
LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig workerUtilizationAwareAssignmentConfig,
LeaseManagementConfig.GracefulLeaseHandoffConfig gracefulLeaseHandoffConfig,
ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap,
long leaseAssignmentIntervalMillis)
Constructor.
|
DynamoDBLeaseRenewer(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
ExecutorService executorService,
MetricsFactory metricsFactory,
LeaseStatsRecorder leaseStatsRecorder,
Consumer<Lease> leaseGracefulShutdownCallback)
Constructor.
|
DynamoDBLeaseTaker(LeaseRefresher leaseRefresher,
String workerIdentifier,
long leaseDurationMillis,
MetricsFactory metricsFactory) |
| Constructor and Description |
|---|
ProcessTask(@NonNull ShardInfo shardInfo,
@NonNull ShardRecordProcessor shardRecordProcessor,
@NonNull ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
ShardDetector shardDetector,
@NonNull ThrottlingReporter throttlingReporter,
ProcessRecordsInput processRecordsInput,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
@NonNull AggregatorUtil aggregatorUtil,
@NonNull MetricsFactory metricsFactory,
SchemaRegistryDecoder schemaRegistryDecoder,
@NonNull LeaseStatsRecorder leaseStatsRecorder) |
ShardConsumerArgument(@NonNull ShardInfo shardInfo,
@NonNull StreamIdentifier streamIdentifier,
LeaseCoordinator leaseCoordinator,
ExecutorService executorService,
RecordsPublisher recordsPublisher,
ShardRecordProcessor shardRecordProcessor,
Checkpointer checkpoint,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long parentShardPollIntervalMillis,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
ShardDetector shardDetector,
AggregatorUtil aggregatorUtil,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory,
@NonNull LeaseCleanupManager leaseCleanupManager,
SchemaRegistryDecoder schemaRegistryDecoder) |
ShardConsumerArgument(@NonNull ShardInfo shardInfo,
@NonNull StreamIdentifier streamIdentifier,
LeaseCoordinator leaseCoordinator,
ExecutorService executorService,
RecordsPublisher recordsPublisher,
ShardRecordProcessor shardRecordProcessor,
Checkpointer checkpoint,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long parentShardPollIntervalMillis,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
ShardDetector shardDetector,
AggregatorUtil aggregatorUtil,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory,
@NonNull LeaseCleanupManager leaseCleanupManager,
SchemaRegistryDecoder schemaRegistryDecoder,
String consumerId) |
| Modifier and Type | Class and Description |
|---|---|
class |
CloudWatchMetricsFactory
An IMetricsFactory that creates IMetricsScopes that output themselves via CloudWatch.
|
class |
InterceptingMetricsFactory |
class |
LogMetricsFactory
An IMetricsFactory that creates IMetricsScopes that output themselves via log4j.
|
class |
NullMetricsFactory |
class |
ThreadSafeMetricsDelegatingFactory
Metrics scope factory that delegates metrics scope creation to another factory, but
returns metrics scope that is thread safe.
|
| Modifier and Type | Method and Description |
|---|---|
MetricsFactory |
MetricsConfig.metricsFactory() |
| Modifier and Type | Method and Description |
|---|---|
static MetricsScope |
MetricsUtil.createMetrics(@NonNull MetricsFactory metricsFactory) |
static MetricsScope |
MetricsUtil.createMetricsWithOperation(@NonNull MetricsFactory metricsFactory,
@NonNull String operation) |
| Constructor and Description |
|---|
InterceptingMetricsFactory(MetricsFactory other) |
MetricsCollectingTaskDecorator(ConsumerTask other,
MetricsFactory factory)
Constructor.
|
ThreadSafeMetricsDelegatingFactory(MetricsFactory delegate)
Creates an instance of the metrics factory.
|
| Modifier and Type | Method and Description |
|---|---|
MetricsFactory |
DataFetcherProviderConfig.getMetricsFactory()
Gets current instance of metrics factory.
|
| Modifier and Type | Method and Description |
|---|---|
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method is deprecated and will be removed in future versions.
Please use
RetrievalFactory.createGetRecordsCache(ShardInfo, StreamConfig, MetricsFactory). |
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) |
default GetRecordsRetrievalStrategy |
RetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method was only used by specific implementations of
RetrievalFactory and should not be
required to be implemented; will be removed in future versions. |
RecordsPublisher |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords)
Deprecated.
|
RecordsPublisher |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords,
SleepTimeController sleepTimeController)
Returns a RecordsPublisher to be used for retrieving records for a given shard.
|
| Constructor and Description |
|---|
KinesisDataFetcherProviderConfig(@NonNull StreamIdentifier streamIdentifier,
@NonNull String shardId,
@NonNull MetricsFactory metricsFactory,
int maxRecords,
@NonNull Duration kinesisRequestTimeout) |
KinesisDataFetcherProviderConfig(@NonNull StreamIdentifier streamIdentifier,
@NotNull String shardId,
@NonNull MetricsFactory metricsFactory,
int maxRecords,
@NotNull Duration kinesisRequestTimeout,
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) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords,
SleepTimeController sleepTimeController) |
| Constructor and Description |
|---|
KinesisDataFetcher(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
String streamName,
String shardId,
int maxRecords,
MetricsFactory metricsFactory)
Deprecated.
|
PrefetchRecordsPublisher(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
@NonNull GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
@NonNull ExecutorService executorService,
long idleMillisBetweenCalls,
long millisBehindLatestThresholdForReducedTps,
@NonNull MetricsFactory metricsFactory,
@NonNull String operation,
@NonNull String shardId,
ThrottlingReporter throttlingReporter,
long awaitTerminationTimeoutMillis,
SleepTimeController sleepTimeController)
Constructor for the PrefetchRecordsPublisher.
|
PrefetchRecordsPublisher(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
ExecutorService executorService,
long idleMillisBetweenCalls,
long millisBehindLatestThresholdForReducedTps,
MetricsFactory metricsFactory,
String operation,
String shardId,
ThrottlingReporter throttlingReporter,
SleepTimeController sleepTimeController)
Constructor for the PrefetchRecordsPublisher.
|
| Constructor and Description |
|---|
WorkerMetricStatsManager(int maxMetricStatsCount,
List<WorkerMetric> workerMetricList,
MetricsFactory metricsFactory,
long inMemoryStatsCaptureThreadFrequencyMillis) |
Copyright © 2025. All rights reserved.