removed unused argument idleTimeInMilliseconds
This commit is contained in:
parent
08c874ad53
commit
2b055da2b5
4 changed files with 0 additions and 7 deletions
|
|
@ -263,7 +263,6 @@ class ConsumerStates {
|
|||
throttlingReporter,
|
||||
input,
|
||||
argument.shouldCallProcessRecordsEvenForEmptyRecordList(),
|
||||
argument.idleTimeInMilliseconds(),
|
||||
argument.aggregatorUtil(),
|
||||
argument.metricsFactory(),
|
||||
argument.schemaRegistryDecoder());
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ public class ProcessTask implements ConsumerTask {
|
|||
private final Shard shard;
|
||||
private final ThrottlingReporter throttlingReporter;
|
||||
private final boolean shouldCallProcessRecordsEvenForEmptyRecordList;
|
||||
private final long idleTimeInMilliseconds;
|
||||
private final ProcessRecordsInput processRecordsInput;
|
||||
private final MetricsFactory metricsFactory;
|
||||
private final AggregatorUtil aggregatorUtil;
|
||||
|
|
@ -76,7 +75,6 @@ public class ProcessTask implements ConsumerTask {
|
|||
@NonNull ThrottlingReporter throttlingReporter,
|
||||
ProcessRecordsInput processRecordsInput,
|
||||
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
|
||||
long idleTimeInMilliseconds,
|
||||
@NonNull AggregatorUtil aggregatorUtil,
|
||||
@NonNull MetricsFactory metricsFactory,
|
||||
SchemaRegistryDecoder schemaRegistryDecoder) {
|
||||
|
|
@ -88,7 +86,6 @@ public class ProcessTask implements ConsumerTask {
|
|||
this.throttlingReporter = throttlingReporter;
|
||||
this.processRecordsInput = processRecordsInput;
|
||||
this.shouldCallProcessRecordsEvenForEmptyRecordList = shouldCallProcessRecordsEvenForEmptyRecordList;
|
||||
this.idleTimeInMilliseconds = idleTimeInMilliseconds;
|
||||
this.metricsFactory = metricsFactory;
|
||||
this.schemaRegistryDecoder = schemaRegistryDecoder;
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,6 @@ public class ShardConsumerArgument {
|
|||
private final long listShardsBackoffTimeInMillis;
|
||||
private final int maxListShardsRetryAttempts;
|
||||
private final boolean shouldCallProcessRecordsEvenForEmptyRecordList;
|
||||
private final long idleTimeInMilliseconds;
|
||||
|
||||
@NonNull
|
||||
private final InitialPositionInStreamExtended initialPositionInStream;
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ import static org.mockito.Mockito.when;
|
|||
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class ProcessTaskTest {
|
||||
private static final long IDLE_TIME_IN_MILLISECONDS = 100L;
|
||||
private static final Schema SCHEMA_REGISTRY_SCHEMA = new Schema("{}", "AVRO", "demoSchema");
|
||||
private static final byte[] SCHEMA_REGISTRY_PAYLOAD = new byte[] {01, 05, 03, 05};
|
||||
|
||||
|
|
@ -157,7 +156,6 @@ public class ProcessTaskTest {
|
|||
throttlingReporter,
|
||||
processRecordsInput,
|
||||
shouldCallProcessRecordsEvenForEmptyRecordList,
|
||||
IDLE_TIME_IN_MILLISECONDS,
|
||||
aggregatorUtil,
|
||||
new NullMetricsFactory(),
|
||||
schemaRegistryDecoder);
|
||||
|
|
|
|||
Loading…
Reference in a new issue