PersistMetadata

Key Name Default Value Required

PersistMetadata

0

No

Description

This option specifies whether the connector persists schema maps to a file or publishes them to the MongoDB database without using the Schema Editor.

  • 0: The connector samples if the schema map does not exist, but does not persist.
  • 1: The connector samples and persists if the schema map does not exist, but does not overwrite metadata in the database or file.
  • 2: The connector samples and persists if the schema map does not exist, but overwrites metadata in the database or file.
Important:

Important:

  • When set to 2, the metadata that gets persisted and overwritten depends on the configuration of the Mechanism (Metadata)LoadMetadataTable property. For more information, see Mechanism (Metadata).