I am trying to figure out how to insert the exact same data into two different databases with the same schema. I found this Multiple datasources with same repositories and entities but it didnt really answer the question.
Say I have a user who is registering and I want to save this user to both databases. How do I do I configure this in spring boot? I have seen different repos/databases but what I want is to use the same repo/entity. I know replication is a thing in databases already but I want to do this on the application level.