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()
ConsumerTaskcall in interface Callable<TaskResult>call in interface ConsumerTaskpublic TaskType taskType()
taskType in interface ConsumerTaskCopyright © 2020. All rights reserved.