Add meta-data to DLQ #18840
rocketraman
started this conversation in
General
Replies: 3 comments
-
@codelipenghui @congbobo184 this is a good feature to add to DLQ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for the late response, i will take a look soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Has there been any movement on this? This is an example of a similar feature in Azure Service Bus: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dead-letter-queues#moving-messages-to-the-dlq. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
The automatic DLQ is a nice feature, but its lacking any ability to add meta-data to the entry in the DLQ. For example, setting a property like "causalException" with an exception message and stack trace is very useful when looking at the entries in the DLQ and deciding how to handle them.
Describe the solution you'd like
One possible solution may be to allow passing additional properties to the
negativeAcknowledge
method. When an entry is created in the DLQ, the additional props provided would be added to the DLQ message properties.Alternatives
Manual DLQ handling. Use Pulsar's redelivery count to manually produce to a DLQ topic, along with the necessary meta-data.
This implies that the redelivery count is populated in theMessage
regardless of the presence of aDeadLetterPolicy
. I haven't checked whether that is the case or not.Beta Was this translation helpful? Give feedback.
All reactions