Structs§
- CdcAuto
Schema Change Fail Callback - Callback wrapper for reporting CDC auto schema change fail events
Parameters: (
table_id,table_name,cdc_table_id,upstream_ddl,fail_info) - Column
- Create
Split Reader Opt - Create
Split Reader Result - Source
Context - Source
Ctrl Opts - Source
Enumerator Context - Source
Enumerator Info - Source
Message - The message pumped from the external source service. The third-party message structs will eventually be transformed into this struct.
- Source
Struct
Enums§
- Backfill
Info - Information used to determine whether we should start and finish source backfill.
- Connector
Properties - Source
Encode - Refer to
crate::parser::EncodingProperties - Source
Format - Source
Meta - Split
Impl
Constants§
- MAX_
CHUNK_ SIZE - The max size of a chunk yielded by source stream.
- SPLIT_
INFO_ 🔒FIELD - SPLIT_
TYPE_ 🔒FIELD - UPSTREAM_
SOURCE_ KEY - WEBHOOK_
CONNECTOR
Traits§
- AnySplit
Enumerator - Dyn-compatible
SplitEnumerator. - Source
Chunk Stream - Source
Properties - Represents
WITHoptions for sources. - Split
Enumerator SplitEnumeratorfetches the split metadata from the external source service. NOTE: It runs in the meta server, so probably it should be moved to themetacrate.- Split
Meta Data - The metadata of a split.
- Split
Reader SplitReaderis 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 parsed [StreamChunk]- TryFromB
Tree Map - Unknown
Fields
Functions§
- build_
connection - connection_
name_ to_ prop_ type_ name - create_
split_ readers - enforce_
secret_ connection - extract_
source_ struct
Type Aliases§
- BoxSource
Chunk Stream - Stream of [
StreamChunk]s parsed from the messages from the external source. - BoxSource
Chunk With State Stream - See
StreamChunkWithState. - BoxSource
Message Stream - Stream of
SourceMessage. Messages flow through the stream in the unit of a batch. - BoxStreaming
File Source Chunk Stream - Stream of
Option<StreamChunk>s parsed from the messages from the external source. - BoxTry
Stream - Connector
State ConnectorStatemaintains the consuming splits’ info. In specific split readers,ConnectorStatecannot beNoneand contains one(for mq split readers) or many(for fs split readers)SplitImpl. If no split is assigned to source executor,ConnectorStateisNoneand the created source stream will be a pending stream.- Source
Context Ref - Source
Enumerator Context Ref - SplitId
- Split id resides in every source message, use
Arcto avoid copying. - Stream
Chunk With State StreamChunkwith the latest split state. The state is constructed inStreamReaderBuilder::into_retry_stream