userver: userver/kafka/consumer_component.hpp Source File
Loading...
Searching...
No Matches
consumer_component.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <string_view>
7
9
12
13USERVER_NAMESPACE_BEGIN
14
15namespace kafka {
16
17namespace impl {
18
19class Consumer;
20
21} // namespace impl
22
43class ConsumerComponent final : public components::ComponentBase {
44public:
47 static constexpr std::string_view kName{"kafka-consumer"};
48
50 ~ConsumerComponent() override;
51
55
57
58private:
59 static constexpr std::size_t kImplSize = 2480;
60 static constexpr std::size_t kImplAlign = 16;
62};
63
64} // namespace kafka
65
66USERVER_NAMESPACE_END