mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-10-31 18:47:48 +00:00
Add more producer stuff
This commit is contained in:
@@ -16,7 +16,7 @@ public:
|
||||
|
||||
rd_kafka_t* get_handle();
|
||||
Topic get_topic(const std::string& name);
|
||||
Topic get_topic(const std::string& name, const TopicConfiguration& config);
|
||||
Topic get_topic(const std::string& name, TopicConfiguration config);
|
||||
protected:
|
||||
KafkaHandleBase();
|
||||
KafkaHandleBase(rd_kafka_t* handle);
|
||||
@@ -25,6 +25,8 @@ protected:
|
||||
private:
|
||||
using HandlePtr = std::unique_ptr<rd_kafka_t, decltype(&rd_kafka_destroy)>;
|
||||
|
||||
Topic get_topic(const std::string& name, rd_kafka_topic_conf_t* conf);
|
||||
|
||||
HandlePtr handle_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user