Skip to main content
FieldDescriptionExample ValueData Type
hostsList of MongoDB hosts. Use DNS SRV if srv = true.x.xxx.xxx.120:27017, x.xxx.xxx.120:27017, x.xxx.xxx.133:27017 (can be multiple)[]STRING
username/passwordCredentials for MongoDB authentication."test"/"test"STRING
authdbAuthentication database (often admin)."admin"STRING
replica_setName of the replica set, if applicable."rs0"STRING
read_preferenceWhich node to read from (e.g., secondaryPreferred)."secondaryPreferred"STRING
srvIf using DNS SRV connection strings, set to true. When true, there can only be 1 host in hosts field.
if true, the hosts key will have a value something like ["mongodatatest.pigiy.mongodb.net"]
true, falseBOOL
databaseThe MongoDB database name to replicate."database_name"STRING
max_threadsMaximum parallel threads for chunk-based snapshotting.5INT
backoff_retry_countRetries attempt to establish sync again if it fails, increases exponentially ( in minutes - 1, 2,4,8,16... depending upon the backoff_retry_count value)defaults to 3, takes default value if set to -1INT
chunking_strategyThe chunking strategy for backfilltimestamp, uses splitVector strategy if the field is left empty. Refer here for more details.

Refer here for more about sync modes.



πŸ’‘ Join the OLake Community!

Got questions, ideas, or just want to connect with other data engineers?
πŸ‘‰ Join our Slack Community to get real-time support, share feedback, and shape the future of OLake together. πŸš€

Your success with OLake is our priority. Don’t hesitate to contact us if you need any help or further clarification!