ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Download
ScyllaDB Docs ScyllaDB Migrator Stream Changes

Caution

You're viewing documentation for a previous version of ScyllaDB Migrator. Switch to the latest stable version.

Stream Changes¶

Instead of terminating immediately after having copied a snapshot of the source table, the migrator can also keep running and endlessly replicate the changes applied to the source table as they arrive. This feature is only supported when reading from DynamoDB and writing to ScyllaDB Alternator.

It works by enabling, on the source table, a DynamoDB Stream that emits the changed items data each time an application creates, updates, or deletes data in the source table.

Enable this feature by setting the property streamChanges to true in the target database configuration:

target:
  type: dynamodb
  # ...
  # ... Full configuration not repeated here for the sake of brevity
  # ...
  # Enable the feature
  streamChanges: true

In this mode, the migrator has to be interrupted manually with Control + C (or by sending a SIGINT signal to the spark-submit process). Currently, the created stream is not deleted when the migrator is stopped. You have to delete it manually (e.g. via the AWS Console).

Note that for the migration to be performed without loosing writes, the initial snapshot transfer must complete within 24 hours. Otherwise, some captured changes may be lost due to the retention period of the table’s stream.

Optionally, you can skip the initial snapshot transfer and only replicate the changed items by setting the property skipInitialSnapshotTransfer to true:

target:
  type: dynamodb
  # ...
  streamChanges: true
  skipInitialSnapshotTransfer: true

Was this page helpful?

PREVIOUS
Run the Migration
NEXT
Rename Columns
  • Create an issue
  • Edit this page
ScyllaDB Migrator
  • 1.0.x
    • master
    • 1.1.x
    • 1.0.x
  • Getting Started
    • Set Up a Spark Cluster with Ansible
    • Manual Set Up of a Spark Cluster
    • Set Up a Spark Cluster with AWS EMR
    • Set Up a Spark Cluster with Docker
  • Migrate from Apache Cassandra or from a Parquet File
  • Migrate from DynamoDB
  • Run the Migration
  • Stream Changes
  • Rename Columns
  • Validate the Migration
  • Configuration Reference
  • Tutorials
    • Migrate from DynamoDB to ScyllaDB Alternator Using Docker
Docs Tutorials University Contact Us About Us
© 2025, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 28 Apr 2025.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.6