aws-samples / cql-replicator

CQLReplicator is a migration tool that helps you to replicate data from Cassandra to AWS Services
Apache License 2.0
15 stars 8 forks source link

Supply the OpenSearch connector with the json mapping #128

Closed nwheeler81 closed 6 months ago

nwheeler81 commented 6 months ago

Is your feature request related to a problem? Please describe. The OpenSearch connector should provide ability to map between source and target columns.

Describe the solution you'd like Json configuration:

{ "replication": { "allColumns": true, "ttlAddOn": { "enabled": false, "predicateOp": "greaterThan", "predicateVal": 900000 }, "pointInTimeReplicationConfig": { "predicateOp": "greaterThan" }, "columns":[""], "useCustomSerializer": false, "useMaterializedView": { "enabled": false, "mvName": "mvName" } }, "opensearch": { resource: "aosIndex", fieldsMapping: [ {"source": "sourceColumn1", "target": "targetColumnA"}, {"source": "sourceColumn2", "target": "targetColumnB"} ] } }