Skip to content

Config property to select Quarkus Cache backend #33248

Open
@AndreasPetersen

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions