mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-10-31 18:47:48 +00:00
Add comment regarding flushing producer
This commit is contained in:
@@ -73,6 +73,9 @@ class Message;
|
||||
*
|
||||
* // Write using a key on a fixed partition (42)
|
||||
* producer.produce(MessageBuilder("some_topic").partition(42).key(key).payload(payload));
|
||||
*
|
||||
* // Flush the produced messages
|
||||
* producer.flush();
|
||||
*
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user