[][src]Function pulsar_sys::pulsar_consumer_acknowledge

pub unsafe extern "C" fn pulsar_consumer_acknowledge(
    consumer: *mut pulsar_consumer_t,
    message: *mut pulsar_message_t
) -> pulsar_result

Acknowledge the reception of a single message.

This method will block until an acknowledgement is sent to the broker. After that, the message will not be re-delivered to this consumer.

@see asyncAcknowledge @param message the message to acknowledge @return ResultOk if the message was successfully acknowledged @return ResultError if there was a failure