Function for retrieving dynamic config updates sink specified in the static config. More...
#include <type_traits>
#include <userver/components/component_fwd.hpp>
#include <userver/dynamic_config/fwd.hpp>
Go to the source code of this file.
Functions | |
template<typename Dummy = void> | |
components::DynamicConfigUpdatesSinkBase & | dynamic_config::FindUpdatesSink (const components::ComponentConfig &config, const components::ComponentContext &context) |
Returns component to which incoming dynamic config updates should be forwarded. | |
Function for retrieving dynamic config updates sink specified in the static config.
Definition in file find.hpp.
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.