sflpro / notifier

The notifications microservice is an independently deployable component intended for sending various types of notifications.
Apache License 2.0
47 stars 13 forks source link

Setup DLT for failed messages #128

Open Biacode opened 4 years ago

Biacode commented 4 years ago

@mikron @dnavre Guys, the consumer should have a dependency on the producer. Since it is not a rare situation when you need to publish a message from consumers to another topic. In this particular scenario, I want to configure the consumer to push dead letters to the appropriate topic.

Biacode commented 4 years ago

Also, I noticed you are using AckMode.MANUAL but actually, the message listener is not one of the acknowledgment aware listeners. See the signature

void listen(byte[] model)