rdkafka_sys::bindings

Function rd_kafka_msg_partitioner_random

Source
pub unsafe extern "C" fn rd_kafka_msg_partitioner_random(
    rkt: *const rd_kafka_topic_t,
    key: *const c_void,
    keylen: usize,
    partition_cnt: i32,
    rkt_opaque: *mut c_void,
    msg_opaque: *mut c_void,
) -> i32