source/

directory
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: Apache-2.0

Directories

Path Synopsis
Package filterexpr renders the shared spec.Filter AST into an expr-lang expression.
Package filterexpr renders the shared spec.Filter AST into an expr-lang expression.
Direct-to-Arrow Kafka consumption (#733): the decoder writes each record's fields straight into a transport.RowEncoder built from the target table's canonical schema, so no per-record rowchange.Change is materialized and the source puller never re-encodes one.
Direct-to-Arrow Kafka consumption (#733): the decoder writes each record's fields straight into a transport.RowEncoder built from the target table's canonical schema, so no per-record rowchange.Change is materialized and the source puller never re-encodes one.
decoder
Columnar decoding: the direct-to-Arrow sibling of Decoder (#733).
Columnar decoding: the direct-to-Arrow sibling of Decoder (#733).
Package source.mysql implements the MySQL replication source on top of go-mysql/canal: a single binlog reader that decodes row events into rowchange.Change, positions them at their transaction GTID, and exposes the synced and master positions for the DBLog watermark logic.
Package source.mysql implements the MySQL replication source on top of go-mysql/canal: a single binlog reader that decodes row events into rowchange.Change, positions them at their transaction GTID, and exposes the synced and master positions for the DBLog watermark logic.
charset
Package charset decodes binlog string bytes, which arrive in the column's own character set, to UTF-8.
Package charset decodes binlog string bytes, which arrive in the column's own character set, to UTF-8.
charset/charsetgen command
Command charsetgen turns the .tsv tables in this directory into tables.go, the single-byte decoding tables for the 7 character sets that have no decoder in golang.org/x/text (see issue #113).
Command charsetgen turns the .tsv tables in this directory into tables.go, the single-byte decoding tables for the 7 character sets that have no decoder in golang.org/x/text (see issue #113).
chunk
Package chunk reads a MySQL table for the snapshot: it splits the table into primary-key ranges (Bounds, Partitions) and scans one range at a time, as row maps (Scan) or straight into Arrow (ScanArrow, ScanArrowPages).
Package chunk reads a MySQL table for the snapshot: it splits the table into primary-key ranges (Bounds, Partitions) and scans one range at a time, as row maps (Scan) or straight into Arrow (ScanArrow, ScanArrowPages).
dsn
Package dsn parses the MySQL source URI into what each connection needs: the address and credentials for the binlog syncer, the DSN for the query connection, the TLS configuration and the operator's time location.
Package dsn parses the MySQL source URI into what each connection needs: the address and credentials for the binlog syncer, the DSN for the query connection, the TLS configuration and the operator's time location.
catalog
Package source.postgres implements the PostgreSQL replication source: a single logical-decoding reader (pgoutput) that decodes row changes into rowchange.Change, positions them at their commit LSN, and exposes the synced and confirmed positions for the DBLog watermark logic.
Package source.postgres implements the PostgreSQL replication source: a single logical-decoding reader (pgoutput) that decodes row changes into rowchange.Change, positions them at their commit LSN, and exposes the synced and confirmed positions for the DBLog watermark logic.
chunk
Package chunk reads a PostgreSQL table through SQL for the snapshot: it picks a strategy for the table (CTID ranges, a typed key domain, or key batches), splits it into chunks and scans them, as row maps or straight into Arrow.
Package chunk reads a PostgreSQL table through SQL for the snapshot: it picks a strategy for the table (CTID ranges, a typed key domain, or key batches), splits it into chunks and scans them, as row maps or straight into Arrow.
connect
Package connect resolves the source's connection settings, from a URI or from the nested spec, into one pgx config that the query pool and the replication connection share, including TLS and the SSH tunnel.
Package connect resolves the source's connection settings, from a URI or from the nested spec, into one pgx config that the query pool and the replication connection share, including TLS and the SSH tunnel.
replication
Package replication manages what logical replication needs on the server before the stream starts: the slot, the publication and each table's replica identity.
Package replication manages what logical replication needs on the server before the stream starts: the slot, the publication and each table's replica identity.
retry
Package retry classifies PostgreSQL errors as transient or permanent and retries the transient ones with a capped backoff.
Package retry classifies PostgreSQL errors as transient or permanent and retries the transient ones with a capped backoff.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL