54 static constexpr std::string_view
kName =
"http-client-core";
56 HttpClientCore(
const ComponentConfig&,
const ComponentContext&);
58 ~HttpClientCore()
override;
62 std::shared_ptr<clients::http::ClientCore> GetHttpClientCore(
utils::impl::InternalTag);
65 void WaitUntilConfigSet()
const;
68 static yaml_config::Schema GetStaticConfigSchema();
71 void OnLoadingCancelled()
override;
73 void OnConfigUpdate(
const dynamic_config::Diff& diff);
75 void WriteStatistics(
utils::statistics::Writer& writer);
77 const bool disable_pool_stats_;
78 std::shared_ptr<clients::http::ClientCore> http_client_;
80 std::atomic<
bool> is_loading_cancelled_{
false};
81 mutable engine::MultiConsumerEvent config_updated_event_;
84 concurrent::AsyncEventSubscriberScope subscriber_scope_;