Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for retention of event messages emitted from Publisher and retrieve from Subscriber end #14

Closed
ganeshkumartk opened this issue Sep 9, 2020 · 2 comments

Comments

@ganeshkumartk
Copy link

It will be good if 'Event History' feature is implemented in dart.

Like when publishing an event, the publisher can set an option (retain=True) in the PublishOptions which will cause the Broker to retain the event being published as the most-recent event on this topic.

Same upon subscription, a client can pass (get_retained=True) in the SubscribeOptions. If there is any retained event, it will be immediately sent to the subscriber.

Reference: https://crossbar.io/docs/Event-History/

Python implementation: https://github.com/crossbario/autobahn-python/tree/master/examples/twisted/wamp/pubsub/retained

@konsultaner
Copy link
Owner

this feature is called event retention and is added in 1.0.6

@ganeshkumartk
Copy link
Author

Thanks @konsultaner for this feature implementation ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants