rd_kafka_message_s.key_len

< Depends on the value of \c err : * - \c err==0: Optional message key length

struct rd_kafka_message_s
size_t key_len;

Meta