
Your opinion will help to improve our service
Leave a feedback >#include <userver/kafka/rebalance_types.hpp>
Represents the topic's partition for certain topic.
Definition at line 17 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 27 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 25 of file rebalance_types.hpp.
| std::uint32_t kafka::TopicPartitionView::partition_id | 
Partition ID for a topic.
Definition at line 22 of file rebalance_types.hpp.
| utils::zstring_view kafka::TopicPartitionView::topic | 
Topic's name.
Definition at line 19 of file rebalance_types.hpp.