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
13
std::uint32_t
low
{};
14
15
/// @brief The high watermark offset. It indicates the next offset that will be written in Kafka.
16
/// @note high offset is not required to be committed yet
17
std::uint32_t
high
{};
18
};
19
20
}
// namespace kafka
21
22
USERVER_NAMESPACE_END
userver
kafka
offset_range.hpp
Generated on Tue Dec 24 2024 19:11:23 for userver by
Doxygen
1.10.0