Closed serjteplov closed 3 years ago
Don't use GitHub issues to ask questions; they are for reporting bugs or asking for new features.
I have answered your question on Stack Overflow: https://stackoverflow.com/questions/68634379/failed-sending-to-dlq-using-spring-cloud-stream-in-batch-mode/68714782#68714782
Trying to configure Spring to send bad messages to dead letter queue while using batch mode. But as a result in dlq topic there is nothing.
I use Spring Boot 2.5.3 and Spring Cloud 2020.0.3. This automatically resolves version of spring-cloud-stream-binder-kafka-parent as 3.1.3.
Here is application.properties:
Here is application and batch listener in functional programming model:
Sending to topic:
Reading from DLQ:
So after running this app I got nothing in dlq topic, but in console lots of messages like:
Cannot figure out where is the problem, would be nice if you give any help