Home:ALL Converter>How to retrieve messages in dead letter topic for maual fix in kafka

How to retrieve messages in dead letter topic for maual fix in kafka

Ask Time:2022-03-30T18:10:33         Author:user15125148

Json Formatter

The project i am working on has to route messages to kafka topics based on the field 'topic' in the message. When this routing fails for some reason such as the 'topic' field is empty I send messages to a dead letter topic for manual fix. Is there a possibility to retrieve a single or list of messages so that they can be fixed manually?

Found that I have to write another @KafkaListner, which listens to dead-letter-topic and processes the message. Here the problem is I need to fix them manually.

Author:user15125148,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/71675316/how-to-retrieve-messages-in-dead-letter-topic-for-maual-fix-in-kafka
yy