mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-10-31 18:47:48 +00:00
Example fixes (#96)
* Add example for kafka buffered producer * Add notes regarding bool returned in produce failure callback * Fix example names
This commit is contained in:
@@ -99,7 +99,10 @@ public:
|
||||
using ProduceSuccessCallback = std::function<void(const Message&)>;
|
||||
|
||||
/**
|
||||
* Callback to indicate a message failed to be produced by the broker
|
||||
* Callback to indicate a message failed to be produced by the broker.
|
||||
*
|
||||
* The returned bool indicates whether the BufferedProducer should try to produce
|
||||
* the message again after each failure.
|
||||
*/
|
||||
using ProduceFailureCallback = std::function<bool(const Message&)>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user