kafka-protocol 0.17.0

Implementation of Kafka wire protocol.
1
2
3
4
5
6
7
use kafka_protocol::messages::ApiKey;

#[test]
fn api_key_iter() {
    assert_eq!(ApiKey::iter().count(), 87);
    assert_eq!(ApiKey::iter().next().unwrap(), ApiKey::Produce);
}