5#include <userver/dynamic_config/snapshot.hpp>
6#include <userver/dynamic_config/value.hpp>
7#include <userver/formats/parse/to.hpp>
8#include <userver/storages/redis/impl/base.hpp>
9#include <userver/storages/redis/impl/wait_connected_mode.hpp>
10#include <userver/utils/retry_budget.hpp>
12USERVER_NAMESPACE_BEGIN
21WaitConnectedMode Parse(
const formats::
json::Value& elem,
22 formats::
parse::
To<WaitConnectedMode>);
24RedisWaitConnected Parse(
const formats::
json::Value& elem,
25 formats::
parse::
To<RedisWaitConnected>);
27CommandsBufferingSettings Parse(
const formats::
json::Value& elem,
28 formats::
parse::
To<CommandsBufferingSettings>);
30MetricsSettings::DynamicSettings Parse(
31 const formats::
json::Value& elem,
32 formats::
parse::
To<MetricsSettings::DynamicSettings>);
34ReplicationMonitoringSettings Parse(
35 const formats::
json::Value& elem,
36 formats::
parse::
To<ReplicationMonitoringSettings>);
38PubsubMetricsSettings Parse(
const formats::
json::Value& elem,
39 formats::
parse::
To<PubsubMetricsSettings>);
45 static Config Parse(
const dynamic_config::DocsMap& docs_map);
48 USERVER_NAMESPACE::redis::
CommandControl subscriber_default_command_control;
49 std::chrono::seconds subscriptions_rebalance_min_interval{};
50 USERVER_NAMESPACE::redis::RedisWaitConnected redis_wait_connected;
51 USERVER_NAMESPACE::redis::CommandsBufferingSettings
52 commands_buffering_settings;
53 USERVER_NAMESPACE::redis::MetricsSettings::DynamicSettings metrics_settings;
54 USERVER_NAMESPACE::redis::PubsubMetricsSettings pubsub_metrics_settings;
55 dynamic_config::ValueDict<
56 USERVER_NAMESPACE::redis::ReplicationMonitoringSettings>
57 replication_monitoring_settings;
58 dynamic_config::ValueDict<USERVER_NAMESPACE::utils::RetryBudgetSettings>
59 retry_budget_settings;
62extern const dynamic_config::Key<Config> kConfig;