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

Create example/tutorial around replaying actions across distributed systems #2751

Open
mooreds opened this issue Dec 13, 2023 · 0 comments
Open

Comments

@mooreds
Copy link
Contributor

mooreds commented Dec 13, 2023

Imagine you have distributed FusionAuth instances and want to sync them up. Like say you have user identities in a centralized location and then want to push them to a ship. Then folks can update their profile on the ship which is disconnected from the internet. Then, when the ship returns to port, you can capture those changes.

  • Copy the database from the central server to the ship.
  • Set up a local kafka instance to listen to all relevant webhooks (user and registration updates)
  • When the ship returns to port, read from the kafka instance and push changes to the central server.
  • Users may then make changes off the ship to the central server.
  • When the next ship leaves, copy the database from the central server (so you get any changes made while users are on land).
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