| Modifier and Type | Method and Description |
|---|---|
protected ShardConsumer |
Scheduler.buildConsumer(@NonNull ShardInfo shardInfo,
@NonNull ShardRecordProcessorFactory shardRecordProcessorFactory,
@NonNull LeaseCleanupManager leaseCleanupManager) |
ShardRecordProcessorCheckpointer |
CoordinatorFactory.createRecordProcessorCheckpointer(ShardInfo shardInfo,
Checkpointer checkpoint)
Creates a RecordProcessorChedckpointer to be used by the Scheduler.
|
ShardRecordProcessorCheckpointer |
SchedulerCoordinatorFactory.createRecordProcessorCheckpointer(@NonNull ShardInfo shardInfo,
@NonNull Checkpointer checkpoint)
Creates a RecordProcessorChedckpointer to be used by the Scheduler.
|
| Modifier and Type | Method and Description |
|---|---|
List<ShardInfo> |
LeaseCoordinator.getCurrentAssignments() |
List<ShardInfo> |
ParentsFirstShardPrioritization.prioritize(List<ShardInfo> original) |
List<ShardInfo> |
ShardPrioritization.prioritize(List<ShardInfo> original)
Returns new list of shards ordered based on their priority.
|
List<ShardInfo> |
NoOpShardPrioritization.prioritize(List<ShardInfo> original) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ShardInfo.getLeaseKey(ShardInfo shardInfo)
Utility method to derive lease key from ShardInfo.
|
static String |
ShardInfo.getLeaseKey(ShardInfo shardInfo,
String shardIdOverride)
Utility method to derive lease key from ShardInfo and shardId to override.
|
| Modifier and Type | Method and Description |
|---|---|
List<ShardInfo> |
ParentsFirstShardPrioritization.prioritize(List<ShardInfo> original) |
List<ShardInfo> |
ShardPrioritization.prioritize(List<ShardInfo> original)
Returns new list of shards ordered based on their priority.
|
List<ShardInfo> |
NoOpShardPrioritization.prioritize(List<ShardInfo> original) |
| Modifier and Type | Method and Description |
|---|---|
static ShardInfo |
DynamoDBLeaseCoordinator.convertLeaseToAssignment(Lease lease)
Utility method to convert the basic lease or multistream lease to ShardInfo
|
| Modifier and Type | Method and Description |
|---|---|
List<ShardInfo> |
DynamoDBLeaseCoordinator.getCurrentAssignments() |
| 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) |
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
software.amazon.kinesis.lifecycle.ConsumerState initialState,
Function<ConsumerTask,ConsumerTask> taskMetricsDecorator,
int bufferSize,
TaskExecutionListener taskExecutionListener)
Deprecated.
|
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
software.amazon.kinesis.lifecycle.ConsumerState initialState,
Function<ConsumerTask,ConsumerTask> taskMetricsDecorator,
int bufferSize,
TaskExecutionListener taskExecutionListener,
int readTimeoutsToIgnoreBeforeWarning) |
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
TaskExecutionListener taskExecutionListener)
Deprecated.
|
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
TaskExecutionListener taskExecutionListener,
int readTimeoutsToIgnoreBeforeWarning) |
| 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 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. |
| 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) |
Copyright © 2024. All rights reserved.