pub unsafe extern "C" fn rd_kafka_queue_get_partition(
rk: *mut rd_kafka_t,
topic: *const c_char,
partition: i32,
) -> *mut rd_kafka_queue_t
Expand description
Returns a reference to the partition’s queue, or NULL if partition is invalid.
Use rd_kafka_queue_destroy() to loose the reference.
@remark rd_kafka_queue_destroy() MUST be called on this queue
@remark This function only works on consumers.