mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 02:57:53 +00:00
Add get/query offset wrappers
This commit is contained in:
@@ -41,10 +41,13 @@ public:
|
||||
void commit(const TopicPartitionList& topic_partitions);
|
||||
void async_commit(const TopicPartitionList& topic_partitions);
|
||||
|
||||
TopicPartitionList get_offsets_committed(const TopicPartitionList& topic_partitions);
|
||||
TopicPartitionList get_offsets_position(const TopicPartitionList& topic_partitions);
|
||||
TopicPartitionList get_subscription();
|
||||
TopicPartitionList get_assignment();
|
||||
OffsetTuple get_offsets(const std::string& topic, int partition) const;
|
||||
|
||||
TopicPartitionList get_offsets_committed(const TopicPartitionList& topic_partitions) const;
|
||||
TopicPartitionList get_offsets_position(const TopicPartitionList& topic_partitions) const;
|
||||
TopicPartitionList get_subscription() const;
|
||||
TopicPartitionList get_assignment() const;
|
||||
std::string get_member_id() const;
|
||||
|
||||
Message poll();
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user