public class ProcessTask extends Object implements ConsumerTask
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) |
public 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)
public TaskResult call()
ConsumerTask
call
in interface Callable<TaskResult>
call
in interface ConsumerTask
public TaskType taskType()
taskType
in interface ConsumerTask
Copyright © 2021. All rights reserved.