Skip to content

Provide a way to customize RedisCacheManager #15960

@jntakpe

Description

@jntakpe

Spring Boot uses CacheManagerCustomizer to customize cache managers. RedisCacheConfiguration calls a list of CacheManagerCustomizers but most of RedisCacheManager methods are private.
The only cache configuration access is the method RedisCacheManager#getCacheConfigurations() but it returns an UnmodifiableMap.

Maybe I'm missing something but the only way I found to customize RedisCacheConfiguration TTL per cache is to declared my own RedisCacheManager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions