5#include <userver/kafka/producer.hpp>
7#include <userver/components/loggable_component_base.hpp>
8#include <userver/utils/statistics/entry.hpp>
10USERVER_NAMESPACE_BEGIN
47 static constexpr std::string_view kName =
"kafka-producer";
49 ProducerComponent(
const components::ComponentConfig& config,
51 ~ProducerComponent()
override;
53 Producer& GetProducer();
62 utils::statistics::Entry statistics_holder_;