conduktor.io ↗
🍃

Debezium MongoDB Connector Configuration

All configuration properties for the Debezium MongoDB connector across versions 2.4–3.5. Cells highlighted in green are additions, red are removals, yellow are default changes.

88 properties · 10 versions (2.4–3.5) · Compare all connectors →
Property Description 2.42.52.62.73.03.13.23.33.43.5
binary.handling.modeSpecify how binary (blob, binary, etc.) columns should be represented in change events, including: 'bytes' represents bi..bytesbytesbytesbytesbytesbytesbytesbytesbytesbytes
capture.modeThe method used to capture changes from MongoDB server. Options include: 'change_streams' to capture changes via MongoDB..change_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_fullchange_streams_update_full
capture.scopeThe scope of captured changes. Options include: 'deployment' (the default) to capture changes from the entire MongoDB de..deploymentdeploymentdeploymentdeploymentdeploymentdeploymentdeploymentdeploymentdeploymentdeployment
capture.targetThe target to capture changes from. For 'database' scope, this is the database name. For 'collection' scope, this is the..nullnull00000000
collection.exclude.listA comma-separated list of regular expressions or literals that match the collection names for which changes are to be ex..nullnullnullnullnullnullnullnullnullnull
collection.include.listA comma-separated list of regular expressions or literals that match the collection names for which changes are to be ca..nullnullnullnullnullnullnullnullnullnull
convertersOptional list of custom converters that would be used instead of default ones. The converters are defined using '<conver..nullnullnullnullnullnullnullnullnullnull
cursor.max.await.time.msThe maximum processing time in milliseconds to wait for the oplog cursor to process a single poll requestnullnullnullnullnullnullnullnullnullnull
cursor.oversize.handling.modeThe strategy used to handle change events for documents exceeding specified BSON size. Options include: 'fail' (the defa..failfailfailfailfailfailfailfailfailfail
cursor.oversize.skip.thresholdThe maximum allowed size of the stored document for which change events are processed. This includes both, the size befo..0000000000
cursor.pipelineApplies processing to change events as part of the the standard MongoDB aggregation stream pipeline. A pipeline is a Mon..nullnullnullnullnullnullnullnullnullnull
cursor.pipeline.orderThe order used to construct the effective MongoDB aggregation stream pipeline Options include: 'internal_first' (the def..internal_firstinternal_firstinternal_firstinternal_firstinternal_firstinternal_firstinternal_firstinternal_firstinternal_firstinternal_first
custom.metric.tagsThe custom metric tags will accept key-value pairs to customize the MBean object name which should be appended the end o..nullnullnullnullnullnullnullnullnullnull
database.exclude.listA comma-separated list of regular expressions or literals that match the database names for which changes are to be excl..nullnullnullnullnullnullnullnullnullnull
database.include.listA comma-separated list of regular expressions or literals that match the database names for which changes are to be capt..nullnullnullnullnullnullnullnullnullnull
errors.max.retriesThe maximum number of retries on connection errors before failing (-1 = no limit, 0 = disabled, > 0 = num of retries).nullnullnullnullnullnullnullnullnullnull
event.processing.failure.handling.modeSpecify how failures during processing of events (i.e. when encountering a corrupted event) should be handled, including..failfailfailfailfailfailfailfailfailfail
field.exclude.listA comma-separated list of the fully-qualified names of fields that should be excluded from change event message valuesnullnullnullnullnullnullnullnullnullnull
field.name.adjustment.modeSpecify how field names should be adjusted for compatibility with the message converter used by the connector, including..nonenonenonenonenonenonenonenonenonenone
field.renamesA comma-separated list of the fully-qualified replacements of fields that should be used to rename fields in change even..nullnullnullnullnullnullnullnullnullnull
filters.match.modeThe mode used by the aggregation pipeline to match events based on included/excluded database and collection namesOption..regexregexregexregexregexregexregexregexregexregex
incremental.snapshot.allow.schema.changesDetect schema change during an incremental snapshot and re-select a current chunk to avoid locking DDLs. Note that chang..falsefalsefalsefalsefalsefalsefalsefalsefalsefalse
incremental.snapshot.chunk.sizeThe maximum size of chunk (number of documents/rows) for incremental snapshotting1024102410241024102410241024102410241024
max.batch.sizeMaximum size of each batch of source records. Defaults to .nullnullnullnullnullnullnullnullnullnull
max.queue.sizeMaximum size of the queue for change events read from the database log but not yet recorded or forwarded. Defaults to , ..nullnullnullnullnullnullnullnullnullnull
max.queue.size.in.bytesMaximum size of the queue in bytes for change events read from the database log but not yet recorded or forwarded. Defau..nullnullnullnullnullnullnullnullnullnull
mongodb.authentication.classThis class must implement the 'MongoDbAuthProvider' interface and is called on each app boot to provide the MongoDB cred..nullnullnullnullnullnullnullnullnullnull
mongodb.authsourceDatabase containing user credentials.admin_database_nameadmin_database_namenullnullnullnullnullnullnullnull
mongodb.connect.timeout.msThe connection timeout, given in milliseconds. Defaults to 10 seconds (10,000 ms).nullnullnullnullnullnullnullnullnullnull
mongodb.connection.modeThe method used to connect to MongoDB cluster. Options include: 'replica_set' to individually connect to each replica se..replica_setsharded
mongodb.connection.stringDatabase connection string.nullnullnullnull
mongodb.connection.string.shard.paramsThe connection string parameters used when connecting to individual shards of sharded cluster.Only applicable with repli..nullnull
mongodb.heartbeat.frequency.msThe frequency that the cluster monitor attempts to reach each server. Defaults to 10 seconds (10,000 ms).nullnullnullnullnullnullnullnullnullnull
mongodb.passwordPassword to be used when connecting to MongoDB, if necessary.nullnullnullnullnullnullnullnullnullnull
mongodb.poll.interval.msInterval for looking for new, removed, or changed replica sets, given in milliseconds. Defaults to 30 seconds (30,000 ms..nullnullnullnullnullnullnullnullnullnull
mongodb.server.selection.timeout.msThe server selection timeout, given in milliseconds. Defaults to 10 seconds (10,000 ms).nullnullnullnullnullnullnullnullnullnull
mongodb.socket.timeout.msThe socket timeout, given in milliseconds. Defaults to 0 ms.0000000000
mongodb.ssl.enabledShould connector use SSL to connect to MongoDB instancesfalsefalsefalsefalsefalsefalsefalsefalsefalsefalse
mongodb.ssl.invalid.hostname.allowedWhether invalid host names are allowed when using SSL. If true the connection will not prevent man-in-the-middle attacksfalsefalsefalsefalsefalsefalsefalsefalsefalsefalse
mongodb.userDatabase user for connecting to MongoDB, if necessary.nullnullnullnullnullnullnullnullnullnull
notification.enabled.channelsList of notification channels names that are enabled.nullnullnullnullnullnullnullnullnullnull
poll.interval.msTime to wait for new change events to appear after receiving no events, given in milliseconds. Defaults to 500 ms.nullnullnullnullnullnullnullnullnullnull
provide.transaction.metadataEnables transaction metadata extraction together with event countingfalsefalsefalsefalsefalsefalsefalsefalsefalsefalse
query.fetch.sizeThe maximum number of records that should be loaded into memory while streaming. A value of '0' uses the default JDBC fe..nullnullnullnullnullnullnullnullnullnull
retriable.restart.connector.wait.msTime to wait before restarting connector after retriable exception occurs. Defaults to ms.nullnullnullnullnullnullnullnullnullnull
schema.name.adjustment.modeSpecify how schema names should be adjusted for compatibility with the message converter used by the connector, includin..nonenonenonenonenonenonenonenonenonenone
signal.data.collectionThe name of the data collection that is used to send signals/commands to Debezium. For multi-partition mode connectors, ..nullnullnullnullnullnullnullnullnullnull
signal.enabled.channelsList of channels names that are enabled. Source channel is enabled by defaultsourcesourcesourcesourcesourcesourcesourcesourcesourcesource
signal.poll.interval.msInterval for looking for new signals in registered channels, given in milliseconds. Defaults to 5 seconds.5000500050005000500050005000500050005000
skip.messages.without.changeEnable to skip publishing messages when there is no change in included columns.This would essentially filter messages to..falsefalsefalsefalsefalsefalsefalsefalsefalsefalse
skipped.operationsThe comma-separated list of operations to skip during streaming, defined as: 'c' for inserts/create; 'u' for updates; 'd..tttttttttt
snapshot.collection.filter.overridesThis property contains a comma-separated list of <dbName>.<collectionName>, for which the initial snapshot may be a subs..nullnullnullnullnullnullnullnullnullnull
snapshot.delay.msA delay period before a snapshot will begin, given in milliseconds. Defaults to 0 ms.0000000000
snapshot.fetch.sizeThe maximum number of records that should be loaded into memory while performing a snapshot.nullnullnullnullnullnullnullnullnullnull
snapshot.include.collection.listThis setting must be set to specify a list of tables/collections whose snapshot must be taken on creating or restarting ..nullnullnullnullnullnullnullnullnullnull
snapshot.max.threadsThe maximum number of threads used to perform the snapshot. Defaults to 1.1111111111
snapshot.modeThe criteria for running a snapshot upon startup of the connector. Select one of the following snapshot options: 'initia..initialinitialinitialinitialinitialinitialinitialinitialinitialinitial
sourceinfo.struct.makerThe name of the SourceInfoStructMaker class that returns SourceInfo schema and struct.nullnullnullnullnullnullnullnullnullnull
tombstones.on.deleteWhether delete operations should be represented by a delete event and a subsequent tombstone event (true) or only by a d..truetruetruetruetruetruetruetruetruetrue
topic.naming.strategyThe name of the TopicNamingStrategy class that should be used to determine the topic name for data change, schema change..nullnullnullnullnullnullnullnullnullnull
topic.prefixTopic prefix that identifies and provides a namespace for the particular database server/cluster is capturing changes. T..nullnullnullnullnullnullnullnullnullnull
capture.mode.full.update.typeThe method used to perform full update lookups. Options include: 'lookup' (the default) use separate lookup to get the u..lookuplookuplookuplookuplookuplookuplookuplookuplookup
incremental.snapshot.watermarking.strategySpecify the strategy used for watermarking during an incremental snapshot: 'insert_insert' both open and close signal is..INSERT_INSERTINSERT_INSERTINSERT_INSERTINSERT_INSERTINSERT_INSERTINSERT_INSERTINSERT_INSERTINSERT_INSERTINSERT_INSERT
mongodb.ssl.keystoreThe location of the key store file. This is optional and can be used for two-way authentication between the client and t..nullnullnullnullnullnullnullnullnull
mongodb.ssl.keystore.passwordThe password for the key store file. This is optional and only needed if 'mongodb.ssl.keystore' is configured.nullnullnullnullnullnullnullnullnull
mongodb.ssl.keystore.typeThe type of key store file. This is optional and only needed if 'mongodb.ssl.keystore' is configured.PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12
mongodb.ssl.truststoreThe location of the trust store file for the server certificate verification.nullnullnullnullnullnullnullnullnull
mongodb.ssl.truststore.passwordThe password for the trust store file. Used to check the integrity of the truststore, and unlock the truststore.nullnullnullnullnullnullnullnullnull
mongodb.ssl.truststore.typeThe type of trust store file. This is optional and only needed if 'mongodb.ssl.truststore' is configured.PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12PKCS12
post.processorsOptional list of post processors. The processors are defined using '<post.processor.prefix>.type' config option and conf..nullnullnullnullnullnullnullnullnull
event.converting.failure.handling.modeSpecify how failures during converting of event should be handled, including: 'fail' throw an exception that the column ..warnwarnwarnwarnwarnwarnwarnwarn
snapshot.locking.mode.custom.nameWhen 'snapshot.locking.mode' is set as custom, this setting must be set to specify a the name of the custom implementati..nullnullnullnullnullnullnullnull
snapshot.mode.configuration.based.snapshot.dataWhen 'snapshot.mode' is set as configuration_based, this setting permits to specify whenever the data should be snapshot..falsefalsefalsefalsefalsefalsefalsefalse
snapshot.mode.configuration.based.snapshot.on.data.errorWhen 'snapshot.mode' is set as configuration_based, this setting permits to specify whenever the data should be snapshot..falsefalsefalsefalsefalsefalsefalsefalse
snapshot.mode.configuration.based.snapshot.on.schema.errorWhen 'snapshot.mode' is set as configuration_based, this setting permits to specify whenever the schema should be snapsh..falsefalsefalsefalsefalsefalsefalsefalse
snapshot.mode.configuration.based.snapshot.schemaWhen 'snapshot.mode' is set as configuration_based, this setting permits to specify whenever the schema should be snapsh..falsefalsefalsefalsefalsefalsefalsefalse
snapshot.mode.configuration.based.start.streamWhen 'snapshot.mode' is set as configuration_based, this setting permits to specify whenever the stream should start or ..falsefalsefalsefalsefalsefalsefalsefalse
snapshot.mode.custom.nameWhen 'snapshot.mode' is set as custom, this setting must be set to specify a the name of the custom implementation provi..nullnullnullnullnullnullnullnull
snapshot.query.modeControls query used during the snapshotselect_allselect_allselect_allselect_allselect_allselect_allselect_allselect_all
snapshot.query.mode.custom.nameWhen 'snapshot.query.mode' is set as custom, this setting must be set to specify a the name of the custom implementation..nullnullnullnullnullnullnullnull
streaming.delay.msA delay period after the snapshot is completed and the streaming begins, given in milliseconds. Defaults to 0 ms.0000000
transaction.metadata.factoryClass to make transaction context & transaction struct/schemasnullnullnullnullnullnullnull
connection.validation.timeout.msThe maximum time in milliseconds to wait for connection validation to complete. Defaults to 60 seconds.nullnullnullnull
executor.shutdown.timeout.msThe maximum time in milliseconds to wait for task executor to shut down.nullnullnullnull
capture.start.op.timeIf no existing offset is detected, Debezium will start streaming from given timestamp-1-1-1
guardrail.collections.limit.actionSpecify the action to take when a guardrail collections limit is exceeded: 'warn' (the default) logs a warning message a..warnwarnwarn
guardrail.collections.maxThe maximum number of collections or tables that can be captured by the connector. When this limit is exceeded, the acti..000
snapshot.max.threads.multiplierThe factor used to scale the number of snapshot chunks per table. The default behavior is to take 'row_count/snapshot.ma..1