Function rd_kafka_event_error

Source
pub unsafe extern "C" fn rd_kafka_event_error(
    rkev: *mut rd_kafka_event_t,
) -> rd_kafka_resp_err_t
Expand description

Returns the error code for the event.

Use rd_kafka_event_error_is_fatal() to detect if this is a fatal error.

Event types:

  • all