risingwave_pb::stream_service::stream_service_server

Trait StreamService

source
pub trait StreamService:
    Send
    + Sync
    + 'static {
    type StreamingControlStreamStream: Stream<Item = Result<StreamingControlStreamResponse, Status>> + Send + 'static;

    // Required methods
    fn wait_epoch_commit<'life0, 'async_trait>(
        &'life0 self,
        request: Request<WaitEpochCommitRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<WaitEpochCommitResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn streaming_control_stream<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Streaming<StreamingControlStreamRequest>>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::StreamingControlStreamStream>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_min_uncommitted_sst_id<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetMinUncommittedSstIdRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetMinUncommittedSstIdResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with StreamServiceServer.

Required Associated Types§

source

type StreamingControlStreamStream: Stream<Item = Result<StreamingControlStreamResponse, Status>> + Send + 'static

Server streaming response type for the StreamingControlStream method.

Required Methods§

source

fn wait_epoch_commit<'life0, 'async_trait>( &'life0 self, request: Request<WaitEpochCommitRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<WaitEpochCommitResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn streaming_control_stream<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<StreamingControlStreamRequest>>, ) -> Pin<Box<dyn Future<Output = Result<Response<Self::StreamingControlStreamStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_min_uncommitted_sst_id<'life0, 'async_trait>( &'life0 self, request: Request<GetMinUncommittedSstIdRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetMinUncommittedSstIdResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§