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

Subscription replay functionality #35

Closed
athal7 opened this issue Jul 12, 2018 · 3 comments
Closed

Subscription replay functionality #35

athal7 opened this issue Jul 12, 2018 · 3 comments

Comments

@athal7
Copy link

athal7 commented Jul 12, 2018

I've been working on enabling client functionality to specify a replayId when they subscribe, such that any messages that occurred during downtime can be delivered. There are a couple of places where I'm hooking into / reimplementing Absinthe functionality, and am interested in exploring if there is appetite for this functionality in the framework itself. Since I imagine there will be better insights from the authors on how to go about implementing it, here is a gist with the relevant pieces from my code, and we can figure out the best way to adapt it if desired.

@athal7
Copy link
Author

athal7 commented Jul 12, 2018

If first-class support for replay isn't desired, something like #30 would make the implementation slightly less brittle in my specific application.

@athal7
Copy link
Author

athal7 commented Sep 7, 2018

Just want to follow up on this that I now have this syncing across the cluster with mnesia using mnesiac and libcluster. @benwilson512 since this is something that could be generalized for any type of phoenix channel, I'll create a separate package for it and we can see if there's a good way to integrate after that

@athal7 athal7 closed this as completed Sep 7, 2018
@athal7
Copy link
Author

athal7 commented Sep 9, 2018

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

1 participant