userver: kafka::OffsetRange Struct Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
kafka::OffsetRange Struct Referencefinal

Your opinion will help to improve our service

Leave a feedback >

#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: