Config property to select Quarkus Cache backend #33248
Open
Description
Description
With the introduction of Redis as a backend for Quarkus Cache, it would be great with a config property to choose the backend used, just like we can easily configure which database to use.
For our testing and production environments, we want to run Redis, but for most local development and @QuarkusTest
, we want to use the Caffiene backend, as this makes setup much easier.
I realize that Quarkus has a dev service for Redis, but my company uses computers that can't easily run Docker on them, so this is not really an option for us...
Implementation ideas
A new config property to select the backend for Quarkus Cache, for examle:
quarkus.cache.backend=redis
%test.quarkus.cache.backend=caffiene
Activity