Add committed/assigned wrappers

This commit is contained in:
Matias Fontanini
2016-05-21 20:39:37 -07:00
parent acd5c4a603
commit c491136e0e
2 changed files with 20 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ public:
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);
Message poll();
private:
static const std::chrono::milliseconds DEFAULT_TIMEOUT;