My application has multiple data sources , so i have created two data source configuration classes based on this URL .
But while running the spring boot applicatio
I just added a module aware multi database aware library for mysql in github.Some application properties need to be added and you are done .
Documentation and other details could be found at :-
https://github.com/yatharthamishra0419/spring-boot-data-multimodule-mysql