[][src]Function pulsar_sys::pulsar_consumer_negative_acknowledge_id

pub unsafe extern "C" fn pulsar_consumer_negative_acknowledge_id(
    consumer: *mut pulsar_consumer_t,
    messageId: *mut pulsar_message_id_t
)

Acknowledge the failure to process a single message through its message id

When a message is "negatively acked" it will be marked for redelivery after some fixed delay. The delay is configurable when constructing the consumer with {@link ConsumerConfiguration#setNegativeAckRedeliveryDelayMs}.

This call is not blocking.

@param message The message id to be acknowledged