fusionauth-site icon indicating copy to clipboard operation
fusionauth-site copied to clipboard

Create example/tutorial around replaying actions across distributed systems

Open mooreds opened this issue 8 months ago • 0 comments

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).

mooreds avatar Dec 13 '23 22:12 mooreds