I set up message sending with exponential retries via kafka with spring-kafka (3.0.13). Everything is ok but when all the retries have been executed there is a log with the ERROR level when the message is posted on the dlt topic.
2024-06-05T16:35:56.647+02:00 ERROR 16128 --- [etry-2000-0-C-1] k.r.DeadLetterPublishingRecovererFactory : Record: topic = ORDER-retry-2000, partition = 1, offset = 5, main topic = ORDER threw an error at topic ORDER-retry-2000 and won't be retried. Sending to DLT with name ORDER-dlt.
I would like to modify the log level of this “error” but I can’t find how to do it.
I tried to modify the log level on the DefaultErrorHandler class but it seems that this is not the right place to do that.