Repository navigation
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 |
0 replies
|
Sorry for the late response, i will take a look soon. |
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
negativeAcknowledgemethod. 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 theMessageregardless of the presence of aDeadLetterPolicy. I haven't checked whether that is the case or not.All reactions