I configured the default DLQ as following:
spring:
cloud:
stream:
kafka:
bindings:
input:
consumer:
enable-dlq: true
dlq-name: dlq-topic
dlq-partitions: 1
the failed messages successfully sent to the dead letter queue. Now I want to analyze the failure cause and start the consumer to listen from dead letter queue topic( after fixing the failure cause ) But the problem is that kafka consumer listen the message as soon as message is published to topic. How can i tackle this problem?
In easy way i want to create an endpoint which triggers by user after fixing the failure cause And that endpoint will be responsible to start kafka consumer to listen message from dlq.