userver: kafka::utest::Message Struct Reference
Loading...
Searching...
No Matches
kafka::utest::Message Struct Reference

#include <userver/kafka/utest/kafka_fixture.hpp>

Detailed Description

Message owning data wrapper for unit tests.

Examples
samples/kafka_service/unittest/kafka_test.cpp.

Definition at line 22 of file kafka_fixture.hpp.

Public Attributes

std::string topic
 
std::string key
 
std::string payload
 
std::optional< std::uint32_t > partition
 

Member Data Documentation

◆ key

std::string kafka::utest::Message::key

Definition at line 24 of file kafka_fixture.hpp.

◆ partition

std::optional<std::uint32_t> kafka::utest::Message::partition

Definition at line 26 of file kafka_fixture.hpp.

◆ payload

std::string kafka::utest::Message::payload

Definition at line 25 of file kafka_fixture.hpp.

◆ topic

std::string kafka::utest::Message::topic

Definition at line 23 of file kafka_fixture.hpp.


The documentation for this struct was generated from the following file: