userver: kafka::OffsetRange Struct Reference
Loading...
Searching...
No Matches
kafka::OffsetRange Struct Referencefinal

#include <userver/kafka/offset_range.hpp>

Detailed Description

Represents the range of offsets for certain topic.

Definition at line 10 of file offset_range.hpp.

Public Attributes

std::uint32_t low {}
 The low watermark offset. It indicates the earliest available offset in Kafka.
 
std::uint32_t high {}
 The high watermark offset. It indicates the next offset that will be written in Kafka.
 

Member Data Documentation

◆ high

std::uint32_t kafka::OffsetRange::high {}

The high watermark offset. It indicates the next offset that will be written in Kafka.

Note
high offset is not required to be committed yet

Definition at line 17 of file offset_range.hpp.

◆ low

std::uint32_t kafka::OffsetRange::low {}

The low watermark offset. It indicates the earliest available offset in Kafka.

Note
low offset is guaranteed to be committed

Definition at line 13 of file offset_range.hpp.


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