@brief \b Producer: Set delivery report callback in provided \p conf object.
The delivery report callback will be called once for each message
accepted by rd_kafka_produce() (et.al) with \p 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 rd_kafka_poll() at regular intervals to
serve queued delivery report callbacks.
@brief \b Producer: Set delivery report callback in provided \p conf object.
The delivery report callback will be called once for each message accepted by rd_kafka_produce() (et.al) with \p 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 rd_kafka_poll() at regular intervals to serve queued delivery report callbacks.