5#include <userver/kafka/producer.hpp>
7#include <userver/components/component_base.hpp>
8#include <userver/utils/statistics/entry.hpp>
10USERVER_NAMESPACE_BEGIN
48 static constexpr std::string_view kName =
"kafka-producer";
50 ProducerComponent(
const components::ComponentConfig& config,
52 ~ProducerComponent()
override;
54 Producer& GetProducer();
63 utils::statistics::Entry statistics_holder_;