mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-02 03:28:01 +00:00
Allow dumping all options in a configuration
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <chrono>
|
||||
#include <boost/optional.hpp>
|
||||
#include <librdkafka/rdkafka.h>
|
||||
@@ -149,6 +147,11 @@ public:
|
||||
*/
|
||||
std::string get(const std::string& name) const;
|
||||
|
||||
/**
|
||||
* Gets all options, including default values which are set by rdkafka
|
||||
*/
|
||||
std::map<std::string, std::string> get_all() const;
|
||||
|
||||
/**
|
||||
* Gets the delivery report callback
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user