crates/fivetran_source/README.md
This crate contains a source connector allowing developers using Convex to replicate the data they store in Convex to other databases.
The connector consists of a gRPC server hosted on the Fivetran infrastructure. This server retrieves the data it needs using the HTTP API described in the Convex docs.
Make sure you have Git and Cargo installed. We recommend installing Cargo via rustup.
git clone https://github.com/get-convex/convex-backend.git
cd convex-backend
cargo build --release -p fivetran_source
You can then find the executable file in
convex-backend/target/release/fivetran_source.
You can start the connector by starting its binary:
$ ./fivetran_source
Starting the connector on [::]:50051
You can change the port used using the optional --port parameter:
$ ./fivetran_source --port 1337
Starting the connector on [::]:1337
The data synchronization happens in two steps:
list_snapshot API
to copy all documents.document_deltas
API to only apply changes from documents that were modified since the last
synchronization.