[][src]Function pulsar_sys::pulsar_consumer_set_unacked_messages_timeout_ms

pub unsafe extern "C" fn pulsar_consumer_set_unacked_messages_timeout_ms(
    consumer_configuration: *mut pulsar_consumer_configuration_t,
    milliSeconds: u64
)

Set the timeout in milliseconds for unacknowledged messages, the timeout needs to be greater than 10 seconds. An Exception is thrown if the given value is less than 10000 (10 seconds). If a successful acknowledgement is not sent within the timeout all the unacknowledged messages are redelivered. @param timeout in milliseconds