Skip to content

Commit 00afc59

Browse files
committed
GH-2620: Fix Call from Deprecated Method
1 parent 6c01c67 commit 00afc59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public static void retryBatch(Exception thrownException, ConsumerRecords<?, ?> r
119119
KafkaException.Level logLevel, @Nullable List<RetryListener> retryListenersArg,
120120
BinaryExceptionClassifier classifier) {
121121

122-
retryBatch(thrownException, records, consumer, container, invokeListener, backOff, seeker, null, logger,
122+
retryBatch(thrownException, records, consumer, container, invokeListener, backOff, seeker, recoverer, logger,
123123
logLevel, retryListenersArg, classifier, false);
124124
}
125125

@@ -224,7 +224,7 @@ public static void retryBatch(Exception thrownException, ConsumerRecords<?, ?> r
224224
((ConsumerPauseResumeEventPublisher) childOrSingle).publishConsumerResumedEvent(assignment2);
225225
}
226226
}
227-
}
227+
} // NOSONAR NCSS line count
228228

229229
private static void listen(@Nullable List<RetryListener> listeners, ConsumerRecords<?, ?> records,
230230
Exception thrownException, int attempt) {

0 commit comments

Comments
 (0)