Skip to content

Commit 37a1b5b

Browse files
committed
Remove unused field from FailedRecordTracker
1 parent fe7f8c1 commit 37a1b5b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/FailedRecordTracker.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ class FailedRecordTracker {
4646

4747
private final BackOff backOff;
4848

49-
private final LogAccessor logger;
50-
5149
FailedRecordTracker(@Nullable BiConsumer<ConsumerRecord<?, ?>, Exception> recoverer, BackOff backOff,
5250
LogAccessor logger) {
5351

@@ -71,7 +69,6 @@ class FailedRecordTracker {
7169
}
7270
this.noRetries = backOff.start().nextBackOff() == BackOffExecution.STOP;
7371
this.backOff = backOff;
74-
this.logger = logger;
7572
}
7673

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

0 commit comments

Comments
 (0)