spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Option to change key prefix in RedisRouteDefinitionRepository

Open bilak opened this issue 5 months ago • 0 comments

Is your feature request related to a problem? Please describe. In some of our installations we are using redis for multiple namespaces. In that case we need to distinguish between keys stored inside redis. If we use now RedisRouteDefinitionRepository keys could be overwritten by different namespaces.

Describe the solution you'd like Add option to RedisRouteDefinitionRepository to provide custom value for currently static ROUTEDEFINITION_REDIS_KEY_PREFIX_QUERY.

Describe alternatives you've considered Providing custom RedisRouteDefinitionRepository but don't know if autoconfiguration allows it at the moment.

bilak avatar Aug 06 '25 07:08 bilak