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) |
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)
public TaskResult call()
ConsumerTask
call
in interface Callable<TaskResult>
call
in interface ConsumerTask
public TaskType taskType()
taskType
in interface ConsumerTask
Copyright © 2022. All rights reserved.