Open mauhiz opened 1 year ago
Thanks for reporting the issue.
However, I prefer to keep WARN level for these commit failures because:
RebalanceInProgressException
due to cooperative rebalancing will be solved in upstream in the future
So I would like to keep WARN by default for these commit-failure. Users still can silence if necessary by logger config (e.g. logback).
Can you recommend a way to only silence retryable commit exceptions? As far as I know logback config doesn't allow to filter log level by keyword in the stacktrace
I think you can try EvaluationFilter and set the expression like
<expression>return throwable instanceof org.apache.kafka.clients.consumer.RetriableCommitFailedException;</expression>
okay, I don't know if it has reasonable performance, but at least there is a way :-)
On decaton 6, observing the following WARNs, when
I don't think the end-user needs to know about this, since
poll()
is soon going to be called again inProcessorSubscription.consumeLoop