userver: kafka::Message Class Reference
Loading...
Searching...
No Matches
kafka::Message Class Referencefinal

#include <userver/kafka/message.hpp>

Detailed Description

Wrapper for polled message data access.

Definition at line 21 of file message.hpp.

Public Member Functions

 Message (Message &&) noexcept
 
Messageoperator= (Message &&) noexcept=delete
 
 Message (const Message &)=delete
 
Messageoperator= (const Message &)=delete
 
const std::string & GetTopic () const
 
std::string_view GetKey () const
 
std::string_view GetPayload () const
 
std::optional< std::chrono::milliseconds > GetTimestamp () const
 
int GetPartition () const
 
std::int64_t GetOffset () const
 

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