#include <userver/kafka/rebalance_types.hpp>
Represents the topic's partition for certain topic.
Definition at line 16 of file rebalance_types.hpp.
Public Member Functions | |
TopicPartitionView (utils::zstring_view topic, std::uint32_t partition_id, std::optional< std::uint64_t > offset) | |
Public Attributes | |
utils::zstring_view | topic |
Topic's name. | |
std::uint32_t | partition_id |
Partition ID for a topic. | |
std::optional< std::uint64_t > | offset |
Offset for current partition if it has commited offset. | |
|
inline |
Definition at line 26 of file rebalance_types.hpp.
std::optional<std::uint64_t> kafka::TopicPartitionView::offset |
Offset for current partition if it has commited offset.
Definition at line 24 of file rebalance_types.hpp.
std::uint32_t kafka::TopicPartitionView::partition_id |
Partition ID for a topic.
Definition at line 21 of file rebalance_types.hpp.
utils::zstring_view kafka::TopicPartitionView::topic |
Topic's name.
Definition at line 18 of file rebalance_types.hpp.