#ifndef CPPKAFKA_TOPIC_PARTITION_LIST_H #define CPPKAFKA_TOPIC_PARTITION_LIST_H #include #include #include namespace cppkafka { class TopicPartition; using TopicPartitionsListPtr = std::unique_ptr; using TopicPartitionList = std::vector; TopicPartitionsListPtr convert(const std::vector& topic_partitions); std::vector convert(const TopicPartitionsListPtr& topic_partitions); TopicPartitionsListPtr make_handle(rd_kafka_topic_partition_list_t* handle); } // cppkafka #endif // CPPKAFKA_TOPIC_PARTITION_LIST_H