I have an application which is using Spring data JPA and hibernate envers for db auditing. Since R2DBC doesn\'t support auditing yet, is it possible to use combination of b
Spring provided simple Auditing via @EnableR2dbcAuditing
, check my example.
Mix JPA in a reactive application is also possible, I have an example to demo run JPA in a reactive application, but not added r2dbc in it.
For your plan, a better solution is applying the cqrs pattern on the database topology, use database cluster for your application.
Update: I have created a sample to demo JPA and R2dbc coexistence in a single webflux application. But I do not suggest using it in real-world applications. Consider the 3rd solution above if you really need it.