kafka-client-engine 0.0.1

Execution and driver-integration layer for the native Kafka client
Documentation
1
2
3
4
5
6
7
8
9
//! Exact Fetch isolation wire-value scenarios.

use super::FetchIsolation;

#[test]
fn closed_isolation_values_match_kafka() {
    assert_eq!(FetchIsolation::ReadUncommitted.wire_value(), 0);
    assert_eq!(FetchIsolation::ReadCommitted.wire_value(), 1);
}