mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 19:18:04 +00:00
Add comment regarding flushing producer
This commit is contained in:
@@ -74,6 +74,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
|
||||
*/
|
||||
class CPPKAFKA_API Producer : public KafkaHandleBase {
|
||||
|
||||
Reference in New Issue
Block a user