Structs§
- The message pumped from the external source service. The third-party message structs will eventually be transformed into this struct.
Enums§
- Information used to determine whether we should start and finish source backfill.
- Refer to
crate::parser::EncodingProperties
Constants§
- The max size of a chunk yielded by source stream.
Traits§
- Represents
WITH
options for sources. SplitEnumerator
fetches the split metadata from the external source service. NOTE: It runs in the meta server, so probably it should be moved to themeta
crate.- The metadata of a split.
SplitReader
is a new abstraction of the external connector read interface which is responsible for parsing, it is used to read messages from the outside and transform them into a stream of parsedStreamChunk
Functions§
Type Aliases§
- Stream of
SourceMessage
. ConnectorState
maintains the consuming splits’ info. In specific split readers,ConnectorState
cannot beNone
and contains one(for mq split readers) or many(for fs split readers)SplitImpl
. If no split is assigned to source executor,ConnectorState
isNone
and the created source stream will be a pending stream.- Split id resides in every source message, use
Arc
to avoid copying.