Configuration

To set up the Couchbase source, provide the following configuration parameters:

KeyDescriptionSample Value
connection_stringConnection string for your Couchbase database. More info.couchbase://my_instance.cloud.couchbase.com
usernameUsername to access the database (must have permissions to read from the specified bucket and scope).username
passwordPassword for the user.password
bucketName of the Couchbase bucket containing your data.my_bucket
scopeName of the Couchbase scope. Only collections within this scope will be available in Mage.my_scope
strategy(Optional) Strategy for schema inference. See below.infer

Strategy Details

By default, Mage will attempt to infer your data’s schema from a sample of documents.

  • strategy: infer — Mage will try to infer a unified schema from the data. If multiple schemas exist, Mage will pick the one covering the most data points.
  • strategy: combine — Mage will combine the data into a single _document column as an object.