userver: samples/kafka_service/src/consumer_handler.hpp
Loading...
Searching...
No Matches
samples/kafka_service/src/consumer_handler.hpp
#pragma once
#include <string_view>
#include <userver/kafka/consumer_scope.hpp>
namespace kafka_sample {
class ConsumerHandler final : public components::ComponentBase {
public:
static constexpr std::string_view kName{"consumer-handler"};
ConsumerHandler(const components::ComponentConfig& config, const components::ComponentContext& context);
private:
// Subscriptions must be the last fields! Add new fields above this comment.
};
} // namespace kafka_sample