Questions tagged [dead-letter]

250 questions
6
votes
1 answer

Separate dead letter exchange necessary in RabbitMQ?

I've set up a dead letter routing with my queue to requeue rejected messages with a delay of several seconds, preventing temporary consumer errors to clog up the queue. I've set this up so both the work queue and the dead letter queue are bound to…
Moritz Friedrich
  • 1,371
  • 20
  • 38
6
votes
1 answer

Akka 2.6 how to read `Dead Letters` in Akka Typed?

I have read this doc https://doc.akka.io/docs/akka/current/general/message-delivery-reliability.html#dead-letters, which says: An actor can subscribe to class akka.actor.DeadLetter on the event stream, see Event Stream for how to do that. in the…
mahengyang
  • 289
  • 2
  • 16
6
votes
2 answers

How many dead letter queues should I have on AWS

Is there a correct number of dead letter queues that I should have? Can my architecture just have one and share across all queues? How should I make this decision? Thank you.
user12212177
6
votes
1 answer

How to set custom headers on RabbitMQ message using Apache Camel?

I'm trying to add custom headers on my message, so whenever an exception occurs and it ends up in the dead-letter-queue, I can see what the exception was. However all my attempts at this have failed. using .setHeader() setting header on the…
Edito
  • 3,030
  • 13
  • 35
  • 67
6
votes
2 answers

RabbitMQ - Apache Camel Reading Messages what to do with failed messages

I have the following PHP application. That publishes a user signUp to a message queue. The Java Application reads from that queue and imports it. Hopefully the diagram below will discribe it. I am only working with the Java side of things. The…
Robbo_UK
  • 11,351
  • 25
  • 81
  • 117
6
votes
3 answers

ActiveMQ : dead letter queue keeps my messages order

I use ActiveMQ as a broker to deliver messages. Theses messages are intented to be written in a dabatase. Sometimes, the database is unreachable or down. In that case, I want to rollback my message to retry later this message and I want to continue…
Jean-Philippe Caruana
  • 2,617
  • 4
  • 25
  • 47
5
votes
1 answer

AWS Event Bridge DLQ configuration using Serverless Framework

The serverless framework docs of AWS Event Bridge here do not mention how to set up a dead letter queue and retry attempts. I was hoping for the configuration of serverless.yml would look something like below but it did not work. myLambda: …
5
votes
1 answer

Does errors.deadletterqueue.topic.name work for source connector

Does "errors.deadletterqueue.topic.name" work for source connector? I tested with JDBC sink connector and it works, but I don't find a record which has serialization error goes to dead letter queue. I use Debezium Connector for MongoDB and…
Holm
  • 2,987
  • 3
  • 27
  • 48
5
votes
1 answer

Azure SB queues sends messages to disabled dead letter queue

Why does my Azure Service Bus queues send messages to the dead letter sub queue when it's not enabled? Right from the beginning I made sure expired messages wouldn't be moved to the dead letter queue (or so I thought). In Visual Studio Server…
5
votes
3 answers

Dead Lettered Message Not Being Consumed in RabbitMQ and Node Using AMQP.Node

I want to receive a message after a certain amount of time in one of my workers. I decided to go with Node and RabbitMQ after discovering so-called dead letter exchanges. The message seems to get send to the queue in DeadExchange, but the consumer…
martijndeh
  • 361
  • 3
  • 11
4
votes
1 answer

Reason attribute on AWS Dead Letter Queue message to filter which to re-post to main queue?

Is there a config setting somewhere where one can have lambda or SQS add a reason attribute when a message is sent to the DLQ? A message can end up in a dead letter queue either by error or by throttling. In the case of a message being throttled,…
Kenobi
  • 465
  • 6
  • 13
4
votes
1 answer

Why use a dead-letter queue?

I'm looking at possibly implementing a dead-letter queue for a queue being used by a set of services to communicate with each other. Something that's been lingering at the back of my head is how it solves the problem of un-processed messages. The…
Hugo
  • 2,186
  • 8
  • 28
  • 44
4
votes
2 answers

How to create a test for DeadLetter Kafka

In my little microservice, I created a Producer Kafka to send the messages with errors (messages having errors in the JSON format) inside the DeadLetter in this way : @Component public class KafkaProducer { @Autowired private…
Jacket
  • 353
  • 6
  • 18
4
votes
2 answers

What is the good choice for Dead letter queue in kafka consumer

I am writing a kafka cosumer. The consumer's job is primarily about creating multiple db entities and save them after processing the payload. I am trying to code for handling errors that can occur while consuming the data. For this I can think of 2…
4
votes
1 answer

Akka log-dead-letters and log-dead-letters-during-shutdown don't work

This is a simple question, but it keeps bothering me and my logs. I have a config: akka { log-dead-letters-during-shutdown = off log-dead-letters = off } My program ends with akkaSystem.terminate() I'm pretty sure that config is loaded to the…
Konstantin Bodnia
  • 1,372
  • 3
  • 20
  • 43
1
2
3
16 17