mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-21 12:14:49 +00:00
Document more classes
This commit is contained in:
@@ -81,7 +81,7 @@ class TopicConfiguration;
|
||||
* Message msg = consumer.poll();
|
||||
* if (msg) {
|
||||
* // It's a valid message!
|
||||
* if (msg.get_error() == 0) {
|
||||
* if (!msg.has_error()) {
|
||||
* // It's an actual message. Get the payload and print it to stdout
|
||||
* cout << msg.get_payload().as_string() << endl;
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user