If multiple embedded DataSources are declared, one needs to explicitly disable the DataSourceAutoConfiguration and DataSourceTransactionManagerAutoConfiguration as can be seen here. They fail as they rely on unique DataSource instances to be present.
Can we let the simply opt out of being applied if multiple DataSources are present?