Spring Boot Multi Datasource Example
Proof of concept of a Spring Boot + Spring Data JPA application with multiple datasources.
Running the Demo
The demo uses docker to setup up a Postgres and MySQL database.
run.sh, can be used to start up the database containers and Spring Boot application.
multi-spring-datasources.postman_collection.json contains saved Postman requests for testing the application.
Using Multiple Datasources
For in-depth explanation of using multiple datasources in an application, be sure to checkout this blog article: LINK REQUIRED