Function for retrieving dynamic config updates sink specified in the static config.
Definition in file find.hpp.
Go to the source code of this file.
#include <type_traits>
#include <userver/components/component_fwd.hpp>
#include <userver/dynamic_config/fwd.hpp>
Functions | |
components::DynamicConfigUpdatesSinkBase & | dynamic_config::FindUpdatesSink (const components::ComponentConfig &config, const components::ComponentContext &context) |
Returns component to which incoming dynamic config updates should be forwarded. | |
components::DynamicConfigUpdatesSinkBase & dynamic_config::FindUpdatesSink | ( | const components::ComponentConfig & | config, |
const components::ComponentContext & | context ) |
Returns component to which incoming dynamic config updates should be forwarded.
Component to be used as an updates sink is determined by the updates-sink
static config field. If this field is not set, then components::DynamicConfig is used as a default sink.