public class ProcessTask extends Object implements ConsumerTask
| 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) |
public ProcessTask(@NonNull
@NonNull ShardInfo shardInfo,
@NonNull
@NonNull ShardRecordProcessor shardRecordProcessor,
@NonNull
@NonNull ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
ShardDetector shardDetector,
@NonNull
@NonNull ThrottlingReporter throttlingReporter,
ProcessRecordsInput processRecordsInput,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
@NonNull
@NonNull AggregatorUtil aggregatorUtil,
@NonNull
@NonNull MetricsFactory metricsFactory,
SchemaRegistryDecoder schemaRegistryDecoder,
@NonNull
@NonNull LeaseStatsRecorder leaseStatsRecorder)
public TaskResult call()
ConsumerTaskcall in interface Callable<TaskResult>call in interface ConsumerTaskpublic TaskType taskType()
taskType in interface ConsumerTaskCopyright © 2025. All rights reserved.