[][src]Function pulsar_sys::pulsar_producer_configuration_set_max_pending_messages_across_partitions

pub unsafe extern "C" fn pulsar_producer_configuration_set_max_pending_messages_across_partitions(
    conf: *mut pulsar_producer_configuration_t,
    maxPendingMessagesAcrossPartitions: c_int
)

Set the number of max pending messages across all the partitions

This setting will be used to lower the max pending messages for each partition ({@link #setMaxPendingMessages(int)}), if the total exceeds the configured value.

@param maxPendingMessagesAcrossPartitions