[−][src]Function pulsar_sys::pulsar_client_configuration_set_message_listener_threads
pub unsafe extern "C" fn pulsar_client_configuration_set_message_listener_threads(
conf: *mut pulsar_client_configuration_t,
threads: c_int
)
Set the number of threads to be used by the Pulsar client when delivering messages through message listener. Default is 1 thread per Pulsar client.
If using more than 1 thread, messages for distinct MessageListener will be delivered in different threads, however a single MessageListener will always be assigned to the same thread.
@param threads number of threads