-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support mongoDB in speed perf harness (#31633)
- Loading branch information
1 parent
99b435f
commit 3624c86
Showing
2 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
...-performance/source-harness/src/main/resources/catalogs/source-mongodb-v2/1m_catalog.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"streams": [ | ||
{ | ||
"stream": { | ||
"name": "Cluster0", | ||
"namespace": "perf_test_1m", | ||
"json_schema": { | ||
"type": "object", | ||
"properties": { | ||
"_id": { | ||
"type": "string" | ||
}, | ||
"data": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"title": { | ||
"type": "string" | ||
}, | ||
"intField": { | ||
"type": "number" | ||
}, | ||
"paragraph": { | ||
"type": "string" | ||
}, | ||
"timestamp": { | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"doubleField": { | ||
"type": "number" | ||
}, | ||
"objectField": { | ||
"type": "object" | ||
}, | ||
"_ab_cdc_cursor": { | ||
"type": "number", | ||
"airbyte_type": "integer" | ||
}, | ||
"_ab_cdc_deleted_at": { | ||
"type": "string" | ||
}, | ||
"_ab_cdc_updated_at": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"default_cursor_field": ["_ab_cdc_cursor"], | ||
"supported_sync_modes": ["incremental"], | ||
"source_defined_cursor": true, | ||
"source_defined_primary_key": [["_id"]] | ||
}, | ||
"sync_mode": "incremental", | ||
"primary_key": [["_id"]], | ||
"cursor_field": ["_ab_cdc_cursor"], | ||
"destination_sync_mode": "append" | ||
} | ||
] | ||
} |