Replies: 1 comment 5 replies
-
It sounds like something for a plugin, maybe? What does the 'checking' part entail? Because you can have your storage subscriber subscribe with 'retain as published', so it can see which messages were originally published retained. Then perhaps we need one more retained messages mode: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to outsource retained message handling.
Background: I'm working on a distributed, master-less, eventually-consistent key-value storage system. The storage server wants to see the messages that a client wants to have retained before they're forwarded, so that it can guarantee the eventually-consistent part.
My idea is to add a "prefix" option to
retained_messages_mode
: retained messages arriving for thefoo/bar/baz
topic would be sent to$RETAIN/foo/bar/baz
instead, where my server could pick them up, check and store them, then forward them to the original topic (without the retain flag obviously).Beta Was this translation helpful? Give feedback.
All reactions