librdkafka
The Apache Kafka C/C++ client library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
RdKafka::DeliveryReportCb Class Referenceabstract

Delivery Report callback class. More...

#include <rdkafkacpp.h>

Public Member Functions

virtual void dr_cb (Message &message)=0
 Delivery report callback.
 

Detailed Description

Delivery Report callback class.

The delivery report callback will be called once for each message accepted by RdKafka::Producer::produce() (et.al) with RdKafka::Message::err() set to indicate the result of the produce request.

The callback is called when a message is succesfully produced or if librdkafka encountered a permanent failure, or the retry counter for temporary errors has been exhausted.

An application must call RdKafka::poll() at regular intervals to serve queued delivery report callbacks.


The documentation for this class was generated from the following file: