risingwave_connector::parser

Trait SourceParserIntoStreamExt

source
pub trait SourceParserIntoStreamExt{
    // Required method
    fn into_stream(self, _: BoxSourceStream) -> impl ChunkSourceStream;
}

Required Methods§

source

fn into_stream(self, _: BoxSourceStream) -> impl ChunkSourceStream

Parse a data stream of one source split into a stream of StreamChunk.

§Arguments
  • data_stream: A data stream of one source split. To be able to split multiple messages from mq, so it is not a pure byte stream
§Returns

A ChunkSourceStream which is a stream of parsed messages.

Object Safety§

This trait is not object safe.

Implementors§