redis_proxy: add support for formatting redis key (#26560)

Signed-off-by: deveshkandpal1224 <deveshkandpal1224@gmail.com>

Mirrored from https://github.com/envoyproxy/envoy @ 7000e2565a219ca270d1c889531e6f1732accdbb
pull/626/head
data-plane-api(Azure Pipelines) 2 years ago
parent f28a053a5d
commit 510f8c22c4
  1. 5
      envoy/extensions/filters/network/redis_proxy/v3/redis_proxy.proto

@ -133,6 +133,7 @@ message RedisProxy {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes";
// [#next-free-field: 6]
message Route {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.network.redis_proxy.v2.RedisProxy.PrefixRoutes.Route";
@ -174,6 +175,10 @@ message RedisProxy {
// Indicates that the route has a request mirroring policy.
repeated RequestMirrorPolicy request_mirror_policy = 4;
// Indicates how redis key should be formatted. To substitute redis key into the formatting
// expression, use %KEY% as a string replacement command.
string key_formatter = 5;
}
reserved 3;

Loading…
Cancel
Save