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
//! Explicit join from private group admission to the embedded reactor wake.

use crate::{
    consumer::{GroupConsumerShardWake, GroupConsumerShardWakeError},
    driver::ReactorWake,
};

impl GroupConsumerShardWake for ReactorWake {
    fn request_group_turn(&self) -> Result<(), GroupConsumerShardWakeError> {
        self.request()
            .map_err(|error| GroupConsumerShardWakeError::from_io(error.into_io()))
    }
}