3#include <userver/kafka/consumer_scope.hpp>
5#include <userver/components/loggable_component_base.hpp>
6#include <userver/utils/fast_pimpl.hpp>
7#include <userver/utils/statistics/entry.hpp>
55 static constexpr std::string_view kName =
"kafka-consumer";
57 ConsumerComponent(
const components::ComponentConfig& config,
59 ~ConsumerComponent()
override;
61 ConsumerScope GetConsumer();
66 static constexpr std::size_t kImplSize = 2480;
67 static constexpr std::size_t kImplAlign = 16;
68 utils::FastPimpl<impl::Consumer, kImplSize, kImplAlign> consumer_;
72 utils::statistics::Entry statistics_holder_;