mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-02 19:47:55 +00:00
Add enum for TopicPartition offsets
This commit is contained in:
@@ -13,6 +13,7 @@ TEST_F(TopicPartitionListTest, Conversion) {
|
||||
TopicPartitionList list1;
|
||||
list1.push_back("foo");
|
||||
list1.push_back({ "bar", 2 });
|
||||
list1.push_back({ "asd", 2, TopicPartition::OFFSET_BEGINNING });
|
||||
|
||||
TopicPartitionList list2 = convert(convert(list1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user