Skip to content

Commit

Permalink
Remove unused field from FailedRecordTracker
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Oct 4, 2019
1 parent fe7f8c1 commit 37a1b5b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class FailedRecordTracker {

private final BackOff backOff;

private final LogAccessor logger;

FailedRecordTracker(@Nullable BiConsumer<ConsumerRecord<?, ?>, Exception> recoverer, BackOff backOff,
LogAccessor logger) {

Expand All @@ -71,7 +69,6 @@ class FailedRecordTracker {
}
this.noRetries = backOff.start().nextBackOff() == BackOffExecution.STOP;
this.backOff = backOff;
this.logger = logger;
}

boolean skip(ConsumerRecord<?, ?> record, Exception exception) {
Expand Down

0 comments on commit 37a1b5b

Please sign in to comment.