3#include <userver/dynamic_config/value.hpp>
4#include <userver/formats/parse/to.hpp>
5#include <userver/storages/redis/impl/base.hpp>
6#include <userver/storages/redis/impl/wait_connected_mode.hpp>
17WaitConnectedMode Parse(
const formats::
json::Value& elem,
18 formats::
parse::
To<WaitConnectedMode>);
30 const formats::
json::Value& elem,
37namespace storages::
redis {
42 default_command_control;
44 subscriber_default_command_control;
45 dynamic_config::Value<size_t> subscriptions_rebalance_min_interval_seconds;
49 commands_buffering_settings;
53 pubsub_metrics_settings;
54 dynamic_config::ValueDict<
56 replication_monitoring_settings;
57 dynamic_config::Value<
bool> redis_cluster_autotopology_enabled;
59 Config(
const dynamic_config::DocsMap& docs_map)
60 : default_command_control{
"REDIS_DEFAULT_COMMAND_CONTROL", docs_map},
61 subscriber_default_command_control{
62 "REDIS_SUBSCRIBER_DEFAULT_COMMAND_CONTROL", docs_map},
63 subscriptions_rebalance_min_interval_seconds{
64 "REDIS_SUBSCRIPTIONS_REBALANCE_MIN_INTERVAL_SECONDS", docs_map},
65 redis_wait_connected{
"REDIS_WAIT_CONNECTED", docs_map},
66 commands_buffering_settings{
"REDIS_COMMANDS_BUFFERING_SETTINGS",
68 metrics_settings{
"REDIS_METRICS_SETTINGS", docs_map},
69 pubsub_metrics_settings{
"REDIS_PUBSUB_METRICS_SETTINGS", docs_map},
70 replication_monitoring_settings{
"REDIS_REPLICA_MONITORING_SETTINGS",
72 redis_cluster_autotopology_enabled{
73 "REDIS_CLUSTER_AUTOTOPOLOGY_ENABLED_V2", docs_map} {}