SUPPORT-9518: add comment for workaround
This commit is contained in:
parent
3667597949
commit
d94a164876
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ public class InputKafkaConsumerConfig {
|
||||||
(record, ex) -> LOGGER.error("recovery failed for message {}, {}", record.value(), ex.getMessage()),
|
(record, ex) -> LOGGER.error("recovery failed for message {}, {}", record.value(), ex.getMessage()),
|
||||||
new FixedBackOff(recoveryInterval, maxRecoveryAttempts)
|
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);
|
handler.setLogLevel(KafkaException.Level.TRACE);
|
||||||
return handler;
|
return handler;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue