mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-03 20:18:06 +00:00
Replace TopicPartitionList class with a vector of TopicPartition
This commit is contained in:
@@ -8,9 +8,11 @@ namespace cppkafka {
|
||||
|
||||
class TopicPartition {
|
||||
public:
|
||||
TopicPartition(const std::string& topic);
|
||||
TopicPartition(const std::string& topic, int partition);
|
||||
TopicPartition(const std::string& topic, int partition, int64_t offset);
|
||||
TopicPartition();
|
||||
TopicPartition(const char* topic);
|
||||
TopicPartition(std::string topic);
|
||||
TopicPartition(std::string topic, int partition);
|
||||
TopicPartition(std::string topic, int partition, int64_t offset);
|
||||
|
||||
const std::string& get_topic() const;
|
||||
int get_partition() const;
|
||||
|
||||
Reference in New Issue
Block a user