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
10
11
12
13
//! Error translation and display scenarios for the private commit host.

use super::error::GroupOffsetCommitHostError;

#[test]
fn error_display_names_the_host_and_retains_the_variant() {
    let error = GroupOffsetCommitHostError::ByteAccounting;

    assert_eq!(
        error.to_string(),
        "group offset commit host invariant failed: ByteAccounting"
    );
}