DistributedPubSub: put messages without route into the dead letters #19009
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
help wanted
Issues that the core team will likely not have time to work on
t:cluster-tools
Milestone
Currently if you publish message using
publishToEachGroup
and there is no subscribers on this topic that message is just lost. It would be much better to be able to handle this situation and put the message into the dead letter for the further debugging and processing.To achieve this result for myself I created a new class that inherits
DistributedPubSubMediator
and implemented it like this:Also there is other sending methods that have to be modified like
Send
,SendToAll
,Publish
, etc.The text was updated successfully, but these errors were encountered: