Skip to content

Commit c2177f6

Browse files
committed
GH-2620: Fix Call from Deprecated Method
1 parent 223494c commit c2177f6

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
@@ -72,7 +72,7 @@ public static void retryBatch(Exception thrownException, ConsumerRecords<?, ?> r
7272
CommonErrorHandler seeker, BiConsumer<ConsumerRecords<?, ?>, Exception> recoverer, LogAccessor logger,
7373
KafkaException.Level logLevel, List<RetryListener> retryListeners, BinaryExceptionClassifier classifier) {
7474

75-
retryBatch(thrownException, records, consumer, container, invokeListener, backOff, seeker, null, logger,
75+
retryBatch(thrownException, records, consumer, container, invokeListener, backOff, seeker, recoverer, logger,
7676
logLevel, retryListeners, classifier, false);
7777
}
7878

@@ -172,7 +172,7 @@ public static void retryBatch(Exception thrownException, ConsumerRecords<?, ?> r
172172
((ConsumerPauseResumeEventPublisher) childOrSingle).publishConsumerResumedEvent(assignment2);
173173
}
174174
}
175-
}
175+
} // NOSONAR NCSS line count
176176

177177
private static void listen(List<RetryListener> listeners, ConsumerRecords<?, ?> records,
178178
Exception thrownException, int attempt) {

0 commit comments

Comments
 (0)