Skip to content

Adapters Overview

Adapters are how Sync or Swim connects to your data sources and destinations. Each adapter handles the specifics of connecting, reading, writing, and detecting changes for a particular system.

These adapters support full two-way synchronization:

AdapterSync TypeChange DetectionStatus
PostgreSQL↔ BidirectionalWAL (instant)Available
Salesforce↔ BidirectionalPollingAvailable
MySQL↔ BidirectionalBinlogAvailable
Redis↔ BidirectionalKeyspace notificationsAvailable

These adapters support one-way sync as destinations:

AdapterSync TypeUse CaseStatus
Cloudflare Vectorize→ One-wayVector embeddings for AI/RAGAvailable
BigQuery→ One-wayAnalytics and data warehouseComing Soon
Snowflake→ One-wayAnalytics and data warehouseComing Soon

Each adapter implements a standard interface for:

  1. Connection - Securely authenticate with the target system
  2. Schema Discovery - Automatically detect tables, objects, and fields
  3. Change Detection - Monitor for new, updated, or deleted records
  4. Read/Write - Efficiently batch data operations
  5. Error Handling - Graceful retry and recovery logic

Different adapters use different methods to detect changes, optimized for each system:

MethodLatencySystems
Write-Ahead Log (WAL)InstantPostgreSQL
Binary Log (Binlog)InstantMySQL
Change StreamsNear-instantMongoDB (coming soon)
Keyspace NotificationsInstantRedis
PollingConfigurable (15s-5min)Salesforce, APIs

Each adapter requires specific credentials and configuration. See the individual adapter documentation for detailed setup instructions: