CDC: MongoDB to Athena | Real-Time Replication Guide
Real-time Change Data Capture from MongoDB to Athena with exactly-once delivery, order-token guards, and tombstone anti-resurrect protection.
Source: MongoDB. Destination: Athena.
CDC apply: Iceberg MERGE.
Sample config
yaml
skippr:
workspace: cdc_mongodb_to_athena
pipelines:
cdc_mongodb_to_athena:
data_source: data_sources.source
data_sink: data_sinks.warehouse
cdc:
default:
business_key_columns:
- id
data_sources:
source:
Mongodb:
connection_string: "mongodb://user:${MONGO_PASSWORD}@host:27017/mydb"
database: mydb
collection: events
cdc_mode: snapshot_then_cdc
data_sinks:
warehouse:
Athena:
database: my_glue_db
s3_staging_dir: "s3://my-bucket/athena-results/"Environment
bash
export AWS_ACCESS_KEY_ID="your-key"
export AWS_SECRET_ACCESS_KEY="your-secret"Source connector: mongodb. Destination connector: athena.
See CDC overview.
