Using an Existing Schema

You can configure the connector to use a schema stored in the database or in a local JSON file.

You provide the configuration information to the connector in the connection URL. For more information about the syntax of the connection URL, see Building the Connection URL.

To use an existing schema:

  • Choose one:
  • To use a schema that is stored in the Couchbase database, connect to the database without specifying the LocalSchemaFile property.
  • Or, to use a schema that is stored in a local JSON file, set the LocalSchemaFile property to the full path of the file containing the schema and then connect to the database.