mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-20 19:54:51 +00:00
Allow building a configuration from an option list
This commit is contained in:
@@ -57,8 +57,9 @@ class TopicConfiguration;
|
||||
*
|
||||
* \code
|
||||
* // Set the broker list
|
||||
* Configuration config;
|
||||
* config.set("metadata.broker.list", "127.0.0.1:9092");
|
||||
* Configuration config = {
|
||||
* { "metadata.broker.list", "127.0.0.1:9092" }
|
||||
* };
|
||||
*
|
||||
* // Create a producer
|
||||
* Producer producer(config);
|
||||
|
||||
Reference in New Issue
Block a user