Rename TopicMetadata::get_topic to TopicMetadata::get_name

This commit is contained in:
Matias Fontanini
2016-11-25 10:18:21 -08:00
parent 6f60881d87
commit c8154ac6cb
3 changed files with 7 additions and 7 deletions

View File

@@ -91,7 +91,7 @@ public:
/**
* Gets the topic name
*/
const std::string& get_topic() const;
const std::string& get_name() const;
/**
* Gets the topic error
@@ -103,7 +103,7 @@ public:
*/
const std::vector<PartitionMetadata>& get_partitions() const;
private:
std::string topic_;
std::string name_;
rd_kafka_resp_err_t error_;
std::vector<PartitionMetadata> partitions_;
};