Closed snussbaumer closed 2 years ago
if an error occurs while processing messages in batch mode, there will be an error when sending the messages to the DLQ :
java.lang.ClassCastException: class java.util.LinkedList cannot be cast to class org.apache.kafka.clients.consumer.ConsumerRecord
I stumbled upon this problem lately, found this stackoverflow post where Gary Russell asks to open an issue to request this :
The DLQ is not currently supported with batch listeners; please open an issue against spring-cloud-stream-binder-kafka on GitHub.
It seems the person asking the question did not follow on this advice, so here it is :)
Issue moved to spring-cloud/spring-cloud-stream #2317 via ZenHub
if an error occurs while processing messages in batch mode, there will be an error when sending the messages to the DLQ :
I stumbled upon this problem lately, found this stackoverflow post where Gary Russell asks to open an issue to request this :
It seems the person asking the question did not follow on this advice, so here it is :)