Add more wrappers for Consumer

This commit is contained in:
Matias Fontanini
2016-05-22 09:32:17 -07:00
parent c491136e0e
commit 83c1d304c6
4 changed files with 35 additions and 4 deletions

View File

@@ -23,14 +23,18 @@ public:
void unsubscribe();
void assign(const TopicPartitionList& topic_partitions);
void close();
void commit(const Message& msg);
void async_commit(const Message& msg);
void commit(const TopicPartitionList& topic_partitions);
void async_commit(const TopicPartitionList& topic_partitions);
TopicPartitionList get_committed(const TopicPartitionList& topic_partitions);
TopicPartitionList get_position(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();
Message poll();
private: