SUPPORT-9518: add comment for workaround

This commit is contained in:
gulnaz 2025-11-01 12:13:55 +03:00
parent 3667597949
commit d94a164876

View file

@ -93,6 +93,8 @@ public class InputKafkaConsumerConfig {
(record, ex) -> LOGGER.error("recovery failed for message {}, {}", record.value(), ex.getMessage()),
new FixedBackOff(recoveryInterval, maxRecoveryAttempts)
);
// workaround to hide redundant logging
// https://github.com/spring-projects/spring-kafka/issues/3409#issuecomment-2276147858
handler.setLogLevel(KafkaException.Level.TRACE);
return handler;
}