[][src]Function pulsar_sys::pulsar_consumer_negative_acknowledge

pub unsafe extern "C" fn pulsar_consumer_negative_acknowledge(
    consumer: *mut pulsar_consumer_t,
    message: *mut pulsar_message_t
)

Acknowledge the failure to process a single message.

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 {@code Message} to be acknowledged