Allow dumping all options in a configuration

This commit is contained in:
Matias Fontanini
2016-06-18 08:23:25 -07:00
parent 2532a2d614
commit 84d98b38e5
6 changed files with 53 additions and 4 deletions

View File

@@ -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
*/