userver
C++ Async Framework
Loading...
Searching...
No Matches
offset_range.hpp
1
#
pragma
once
2
3
#
include
<
cstdint
>
4
5
USERVER_NAMESPACE_BEGIN
6
7
namespace
kafka {
8
9
/// @brief Represents the range of offsets for certain topic.
10
struct
OffsetRange
final
{
11
/// @brief The low watermark offset. It indicates the earliest available offset in Kafka.
12
/// @note low offset is guaranteed to be committed. Max value is std::int64_t::max() according to Kafka protocol
13
/// document.
14
std::
uint64_t
low
{};
15
16
/// @brief The high watermark offset. It indicates the next offset that will be written in Kafka.
17
/// @note high offset is not required to be committed yet. Max value is std::int64_t::max() according to Kafka
18
/// protocol document.
19
std::
uint64_t
high
{};
20
};
21
22
}
// namespace kafka
23
24
USERVER_NAMESPACE_END
userver
kafka
offset_range.hpp
Generated on Tue Sep 2 2025 12:38:15 for userver by
Doxygen
1.13.2