Interface DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
- DebeziumMongodbEndpointBuilderFactory
public static interface DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the Debezium MongoDB Connector component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
additionalProperties(String key, Object value)
Additional properties for debezium components in case they can't be set directly on the camel configurations (e.g: setting Kafka Connect properties needed by Debezium engine, for example setting KafkaOffsetBackingStore), the properties have to be prefixed with additionalProperties..default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
additionalProperties(Map values)
Additional properties for debezium components in case they can't be set directly on the camel configurations (e.g: setting Kafka Connect properties needed by Debezium engine, for example setting KafkaOffsetBackingStore), the properties have to be prefixed with additionalProperties..default DebeziumMongodbEndpointBuilderFactory.AdvancedDebeziumMongodbEndpointBuilder
advanced()
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
collectionBlacklist(String collectionBlacklist)
Description is not available here, please check Debezium website for corresponding key 'collection.blacklist' description.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
collectionWhitelist(String collectionWhitelist)
The collections for which changes are to be captured.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
connectBackoffInitialDelayMs(long connectBackoffInitialDelayMs)
The initial delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
connectBackoffInitialDelayMs(String connectBackoffInitialDelayMs)
The initial delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
connectBackoffMaxDelayMs(long connectBackoffMaxDelayMs)
The maximum delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
connectBackoffMaxDelayMs(String connectBackoffMaxDelayMs)
The maximum delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
connectMaxAttempts(int connectMaxAttempts)
Maximum number of failed connection attempts to a replica set primary before an exception occurs and task is aborted.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
connectMaxAttempts(String connectMaxAttempts)
Maximum number of failed connection attempts to a replica set primary before an exception occurs and task is aborted.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
databaseBlacklist(String databaseBlacklist)
The databases for which changes are to be excluded.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
databaseHistoryFileFilename(String databaseHistoryFileFilename)
The path to the file that will be used to record the database history.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
databaseWhitelist(String databaseWhitelist)
The databases for which changes are to be captured.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
fieldBlacklist(String fieldBlacklist)
Description is not available here, please check Debezium website for corresponding key 'field.blacklist' description.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
fieldRenames(String fieldRenames)
Description is not available here, please check Debezium website for corresponding key 'field.renames' description.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
heartbeatIntervalMs(int heartbeatIntervalMs)
Length of an interval in milli-seconds in in which the connector periodically sends heartbeat messages to a heartbeat topic.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
heartbeatIntervalMs(String heartbeatIntervalMs)
Length of an interval in milli-seconds in in which the connector periodically sends heartbeat messages to a heartbeat topic.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
heartbeatTopicsPrefix(String heartbeatTopicsPrefix)
The prefix that is used to name heartbeat topics.Defaults to __debezium-heartbeat.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
initialSyncMaxThreads(int initialSyncMaxThreads)
Maximum number of threads used to perform an initial sync of the collections in a replica set.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
initialSyncMaxThreads(String initialSyncMaxThreads)
Maximum number of threads used to perform an initial sync of the collections in a replica set.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
internalKeyConverter(String internalKeyConverter)
The Converter class that should be used to serialize and deserialize key data for offsets.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
internalValueConverter(String internalValueConverter)
The Converter class that should be used to serialize and deserialize value data for offsets.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
maxBatchSize(int maxBatchSize)
Maximum size of each batch of source records.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
maxBatchSize(String maxBatchSize)
Maximum size of each batch of source records.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
maxQueueSize(int maxQueueSize)
Maximum size of the queue for change events read from the database log but not yet recorded or forwarded.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
maxQueueSize(String maxQueueSize)
Maximum size of the queue for change events read from the database log but not yet recorded or forwarded.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbHosts(String mongodbHosts)
The hostname and port pairs (in the form 'host' or 'host:port') of the MongoDB server(s) in the replica set.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbMembersAutoDiscover(boolean mongodbMembersAutoDiscover)
Specifies whether the addresses in 'hosts' are seeds that should be used to discover all members of the cluster or replica set ('true'), or whether the address(es) in 'hosts' should be used as is ('false').default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbMembersAutoDiscover(String mongodbMembersAutoDiscover)
Specifies whether the addresses in 'hosts' are seeds that should be used to discover all members of the cluster or replica set ('true'), or whether the address(es) in 'hosts' should be used as is ('false').default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbName(String mongodbName)
Unique name that identifies the MongoDB replica set or cluster and all recorded offsets, andthat is used as a prefix for all schemas and topics.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbPassword(String mongodbPassword)
Password to be used when connecting to MongoDB, if necessary.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbSslEnabled(boolean mongodbSslEnabled)
Should connector use SSL to connect to MongoDB instances.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbSslEnabled(String mongodbSslEnabled)
Should connector use SSL to connect to MongoDB instances.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbSslInvalidHostnameAllowed(boolean mongodbSslInvalidHostnameAllowed)
Whether invalid host names are allowed when using SSL.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbSslInvalidHostnameAllowed(String mongodbSslInvalidHostnameAllowed)
Whether invalid host names are allowed when using SSL.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
mongodbUser(String mongodbUser)
Database user for connecting to MongoDB, if necessary.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetCommitPolicy(String offsetCommitPolicy)
The name of the Java class of the commit policy.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetCommitTimeoutMs(long offsetCommitTimeoutMs)
Maximum number of milliseconds to wait for records to flush and partition offset data to be committed to offset storage before cancelling the process and restoring the offset data to be committed in a future attempt.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetCommitTimeoutMs(String offsetCommitTimeoutMs)
Maximum number of milliseconds to wait for records to flush and partition offset data to be committed to offset storage before cancelling the process and restoring the offset data to be committed in a future attempt.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetFlushIntervalMs(long offsetFlushIntervalMs)
Interval at which to try committing offsets.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetFlushIntervalMs(String offsetFlushIntervalMs)
Interval at which to try committing offsets.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStorage(String offsetStorage)
The name of the Java class that is responsible for persistence of connector offsets.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStorageFileName(String offsetStorageFileName)
Path to file where offsets are to be stored.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStoragePartitions(int offsetStoragePartitions)
The number of partitions used when creating the offset storage topic.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStoragePartitions(String offsetStoragePartitions)
The number of partitions used when creating the offset storage topic.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStorageReplicationFactor(int offsetStorageReplicationFactor)
Replication factor used when creating the offset storage topic.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStorageReplicationFactor(String offsetStorageReplicationFactor)
Replication factor used when creating the offset storage topic.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
offsetStorageTopic(String offsetStorageTopic)
The name of the Kafka topic where offsets are to be stored.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
pollIntervalMs(long pollIntervalMs)
Frequency in milliseconds to wait for new change events to appear after receiving no events.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
pollIntervalMs(String pollIntervalMs)
Frequency in milliseconds to wait for new change events to appear after receiving no events.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
skippedOperations(String skippedOperations)
The comma-separated list of operations to skip during streaming, defined as: 'i' for inserts; 'u' for updates; 'd' for deletes.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
snapshotDelayMs(long snapshotDelayMs)
The number of milliseconds to delay before a snapshot will begin.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
snapshotDelayMs(String snapshotDelayMs)
The number of milliseconds to delay before a snapshot will begin.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
snapshotFetchSize(int snapshotFetchSize)
The maximum number of records that should be loaded into memory while performing a snapshot.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
snapshotFetchSize(String snapshotFetchSize)
The maximum number of records that should be loaded into memory while performing a snapshot.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
snapshotMode(String snapshotMode)
The criteria for running a snapshot upon startup of the connector.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
sourceStructVersion(String sourceStructVersion)
A version of the format of the publicly visible source part in the message.default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
tombstonesOnDelete(boolean tombstonesOnDelete)
Whether delete operations should be represented by a delete event and a subsquenttombstone event (true) or only by a delete event (false).default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder
tombstonesOnDelete(String tombstonesOnDelete)
Whether delete operations should be represented by a delete event and a subsquenttombstone event (true) or only by a delete event (false).
-
-
-
Method Detail
-
advanced
default DebeziumMongodbEndpointBuilderFactory.AdvancedDebeziumMongodbEndpointBuilder advanced()
-
additionalProperties
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder additionalProperties(String key, Object value)
Additional properties for debezium components in case they can't be set directly on the camel configurations (e.g: setting Kafka Connect properties needed by Debezium engine, for example setting KafkaOffsetBackingStore), the properties have to be prefixed with additionalProperties.. E.g: additionalProperties.transactional.id=12345&additionalProperties.schema.registry.url=http://localhost:8811/avro. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the additionalProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: common
-
additionalProperties
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder additionalProperties(Map values)
Additional properties for debezium components in case they can't be set directly on the camel configurations (e.g: setting Kafka Connect properties needed by Debezium engine, for example setting KafkaOffsetBackingStore), the properties have to be prefixed with additionalProperties.. E.g: additionalProperties.transactional.id=12345&additionalProperties.schema.registry.url=http://localhost:8811/avro. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the additionalProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: common
-
bridgeErrorHandler
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
internalKeyConverter
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder internalKeyConverter(String internalKeyConverter)
The Converter class that should be used to serialize and deserialize key data for offsets. The default is JSON converter. The option is a:java.lang.String
type. Default: org.apache.kafka.connect.json.JsonConverter Group: consumer
-
internalValueConverter
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder internalValueConverter(String internalValueConverter)
The Converter class that should be used to serialize and deserialize value data for offsets. The default is JSON converter. The option is a:java.lang.String
type. Default: org.apache.kafka.connect.json.JsonConverter Group: consumer
-
offsetCommitPolicy
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetCommitPolicy(String offsetCommitPolicy)
The name of the Java class of the commit policy. It defines when offsets commit has to be triggered based on the number of events processed and the time elapsed since the last commit. This class must implement the interface 'OffsetCommitPolicy'. The default is a periodic commit policy based upon time intervals. The option is a:java.lang.String
type. Default: io.debezium.embedded.spi.OffsetCommitPolicy.PeriodicCommitOffsetPolicy Group: consumer
-
offsetCommitTimeoutMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetCommitTimeoutMs(long offsetCommitTimeoutMs)
Maximum number of milliseconds to wait for records to flush and partition offset data to be committed to offset storage before cancelling the process and restoring the offset data to be committed in a future attempt. The default is 5 seconds. The option is a:long
type. Default: 5s Group: consumer
-
offsetCommitTimeoutMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetCommitTimeoutMs(String offsetCommitTimeoutMs)
Maximum number of milliseconds to wait for records to flush and partition offset data to be committed to offset storage before cancelling the process and restoring the offset data to be committed in a future attempt. The default is 5 seconds. The option will be converted to along
type. Default: 5s Group: consumer
-
offsetFlushIntervalMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetFlushIntervalMs(long offsetFlushIntervalMs)
Interval at which to try committing offsets. The default is 1 minute. The option is a:long
type. Default: 60s Group: consumer
-
offsetFlushIntervalMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetFlushIntervalMs(String offsetFlushIntervalMs)
Interval at which to try committing offsets. The default is 1 minute. The option will be converted to along
type. Default: 60s Group: consumer
-
offsetStorage
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStorage(String offsetStorage)
The name of the Java class that is responsible for persistence of connector offsets. The option is a:java.lang.String
type. Default: org.apache.kafka.connect.storage.FileOffsetBackingStore Group: consumer
-
offsetStorageFileName
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStorageFileName(String offsetStorageFileName)
Path to file where offsets are to be stored. Required when offset.storage is set to the FileOffsetBackingStore. The option is a:java.lang.String
type. Group: consumer
-
offsetStoragePartitions
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStoragePartitions(int offsetStoragePartitions)
The number of partitions used when creating the offset storage topic. Required when offset.storage is set to the 'KafkaOffsetBackingStore'. The option is a:int
type. Group: consumer
-
offsetStoragePartitions
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStoragePartitions(String offsetStoragePartitions)
The number of partitions used when creating the offset storage topic. Required when offset.storage is set to the 'KafkaOffsetBackingStore'. The option will be converted to aint
type. Group: consumer
-
offsetStorageReplicationFactor
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStorageReplicationFactor(int offsetStorageReplicationFactor)
Replication factor used when creating the offset storage topic. Required when offset.storage is set to the KafkaOffsetBackingStore. The option is a:int
type. Group: consumer
-
offsetStorageReplicationFactor
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStorageReplicationFactor(String offsetStorageReplicationFactor)
Replication factor used when creating the offset storage topic. Required when offset.storage is set to the KafkaOffsetBackingStore. The option will be converted to aint
type. Group: consumer
-
offsetStorageTopic
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder offsetStorageTopic(String offsetStorageTopic)
The name of the Kafka topic where offsets are to be stored. Required when offset.storage is set to the KafkaOffsetBackingStore. The option is a:java.lang.String
type. Group: consumer
-
collectionBlacklist
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder collectionBlacklist(String collectionBlacklist)
Description is not available here, please check Debezium website for corresponding key 'collection.blacklist' description. The option is a:java.lang.String
type. Group: mongodb
-
collectionWhitelist
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder collectionWhitelist(String collectionWhitelist)
The collections for which changes are to be captured. The option is a:java.lang.String
type. Group: mongodb
-
connectBackoffInitialDelayMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder connectBackoffInitialDelayMs(long connectBackoffInitialDelayMs)
The initial delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available. Defaults to 1 second (1000 ms). The option is a:long
type. Default: 1s Group: mongodb
-
connectBackoffInitialDelayMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder connectBackoffInitialDelayMs(String connectBackoffInitialDelayMs)
The initial delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available. Defaults to 1 second (1000 ms). The option will be converted to along
type. Default: 1s Group: mongodb
-
connectBackoffMaxDelayMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder connectBackoffMaxDelayMs(long connectBackoffMaxDelayMs)
The maximum delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available. Defaults to 120 second (120,000 ms). The option is a:long
type. Default: 2m Group: mongodb
-
connectBackoffMaxDelayMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder connectBackoffMaxDelayMs(String connectBackoffMaxDelayMs)
The maximum delay when trying to reconnect to a primary after a connection cannot be made or when no primary is available. Defaults to 120 second (120,000 ms). The option will be converted to along
type. Default: 2m Group: mongodb
-
connectMaxAttempts
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder connectMaxAttempts(int connectMaxAttempts)
Maximum number of failed connection attempts to a replica set primary before an exception occurs and task is aborted. Defaults to 16, which with the defaults for 'connect.backoff.initial.delay.ms' and 'connect.backoff.max.delay.ms' results in just over 20 minutes of attempts before failing. The option is a:int
type. Default: 16 Group: mongodb
-
connectMaxAttempts
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder connectMaxAttempts(String connectMaxAttempts)
Maximum number of failed connection attempts to a replica set primary before an exception occurs and task is aborted. Defaults to 16, which with the defaults for 'connect.backoff.initial.delay.ms' and 'connect.backoff.max.delay.ms' results in just over 20 minutes of attempts before failing. The option will be converted to aint
type. Default: 16 Group: mongodb
-
databaseBlacklist
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder databaseBlacklist(String databaseBlacklist)
The databases for which changes are to be excluded. The option is a:java.lang.String
type. Group: mongodb
-
databaseHistoryFileFilename
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder databaseHistoryFileFilename(String databaseHistoryFileFilename)
The path to the file that will be used to record the database history. The option is a:java.lang.String
type. Group: mongodb
-
databaseWhitelist
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder databaseWhitelist(String databaseWhitelist)
The databases for which changes are to be captured. The option is a:java.lang.String
type. Group: mongodb
-
fieldBlacklist
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder fieldBlacklist(String fieldBlacklist)
Description is not available here, please check Debezium website for corresponding key 'field.blacklist' description. The option is a:java.lang.String
type. Group: mongodb
-
fieldRenames
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder fieldRenames(String fieldRenames)
Description is not available here, please check Debezium website for corresponding key 'field.renames' description. The option is a:java.lang.String
type. Group: mongodb
-
heartbeatIntervalMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder heartbeatIntervalMs(int heartbeatIntervalMs)
Length of an interval in milli-seconds in in which the connector periodically sends heartbeat messages to a heartbeat topic. Use 0 to disable heartbeat messages. Disabled by default. The option is a:int
type. Default: 0ms Group: mongodb
-
heartbeatIntervalMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder heartbeatIntervalMs(String heartbeatIntervalMs)
Length of an interval in milli-seconds in in which the connector periodically sends heartbeat messages to a heartbeat topic. Use 0 to disable heartbeat messages. Disabled by default. The option will be converted to aint
type. Default: 0ms Group: mongodb
-
heartbeatTopicsPrefix
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder heartbeatTopicsPrefix(String heartbeatTopicsPrefix)
The prefix that is used to name heartbeat topics.Defaults to __debezium-heartbeat. The option is a:java.lang.String
type. Default: __debezium-heartbeat Group: mongodb
-
initialSyncMaxThreads
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder initialSyncMaxThreads(int initialSyncMaxThreads)
Maximum number of threads used to perform an initial sync of the collections in a replica set. Defaults to 1. The option is a:int
type. Default: 1 Group: mongodb
-
initialSyncMaxThreads
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder initialSyncMaxThreads(String initialSyncMaxThreads)
Maximum number of threads used to perform an initial sync of the collections in a replica set. Defaults to 1. The option will be converted to aint
type. Default: 1 Group: mongodb
-
maxBatchSize
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder maxBatchSize(int maxBatchSize)
Maximum size of each batch of source records. Defaults to 2048. The option is a:int
type. Default: 2048 Group: mongodb
-
maxBatchSize
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder maxBatchSize(String maxBatchSize)
Maximum size of each batch of source records. Defaults to 2048. The option will be converted to aint
type. Default: 2048 Group: mongodb
-
maxQueueSize
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder maxQueueSize(int maxQueueSize)
Maximum size of the queue for change events read from the database log but not yet recorded or forwarded. Defaults to 8192, and should always be larger than the maximum batch size. The option is a:int
type. Default: 8192 Group: mongodb
-
maxQueueSize
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder maxQueueSize(String maxQueueSize)
Maximum size of the queue for change events read from the database log but not yet recorded or forwarded. Defaults to 8192, and should always be larger than the maximum batch size. The option will be converted to aint
type. Default: 8192 Group: mongodb
-
mongodbHosts
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbHosts(String mongodbHosts)
The hostname and port pairs (in the form 'host' or 'host:port') of the MongoDB server(s) in the replica set. The option is a:java.lang.String
type. Group: mongodb
-
mongodbMembersAutoDiscover
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbMembersAutoDiscover(boolean mongodbMembersAutoDiscover)
Specifies whether the addresses in 'hosts' are seeds that should be used to discover all members of the cluster or replica set ('true'), or whether the address(es) in 'hosts' should be used as is ('false'). The default is 'true'. The option is a:boolean
type. Default: true Group: mongodb
-
mongodbMembersAutoDiscover
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbMembersAutoDiscover(String mongodbMembersAutoDiscover)
Specifies whether the addresses in 'hosts' are seeds that should be used to discover all members of the cluster or replica set ('true'), or whether the address(es) in 'hosts' should be used as is ('false'). The default is 'true'. The option will be converted to aboolean
type. Default: true Group: mongodb
-
mongodbName
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbName(String mongodbName)
Unique name that identifies the MongoDB replica set or cluster and all recorded offsets, andthat is used as a prefix for all schemas and topics. Each distinct MongoDB installation should have a separate namespace and monitored by at most one Debezium connector. The option is a:java.lang.String
type. Required: true Group: mongodb
-
mongodbPassword
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbPassword(String mongodbPassword)
Password to be used when connecting to MongoDB, if necessary. The option is a:java.lang.String
type. Required: true Group: mongodb
-
mongodbSslEnabled
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbSslEnabled(boolean mongodbSslEnabled)
Should connector use SSL to connect to MongoDB instances. The option is a:boolean
type. Default: false Group: mongodb
-
mongodbSslEnabled
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbSslEnabled(String mongodbSslEnabled)
Should connector use SSL to connect to MongoDB instances. The option will be converted to aboolean
type. Default: false Group: mongodb
-
mongodbSslInvalidHostnameAllowed
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbSslInvalidHostnameAllowed(boolean mongodbSslInvalidHostnameAllowed)
Whether invalid host names are allowed when using SSL. If true the connection will not prevent man-in-the-middle attacks. The option is a:boolean
type. Default: false Group: mongodb
-
mongodbSslInvalidHostnameAllowed
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbSslInvalidHostnameAllowed(String mongodbSslInvalidHostnameAllowed)
Whether invalid host names are allowed when using SSL. If true the connection will not prevent man-in-the-middle attacks. The option will be converted to aboolean
type. Default: false Group: mongodb
-
mongodbUser
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder mongodbUser(String mongodbUser)
Database user for connecting to MongoDB, if necessary. The option is a:java.lang.String
type. Group: mongodb
-
pollIntervalMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder pollIntervalMs(long pollIntervalMs)
Frequency in milliseconds to wait for new change events to appear after receiving no events. Defaults to 500ms. The option is a:long
type. Default: 500ms Group: mongodb
-
pollIntervalMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder pollIntervalMs(String pollIntervalMs)
Frequency in milliseconds to wait for new change events to appear after receiving no events. Defaults to 500ms. The option will be converted to along
type. Default: 500ms Group: mongodb
-
skippedOperations
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder skippedOperations(String skippedOperations)
The comma-separated list of operations to skip during streaming, defined as: 'i' for inserts; 'u' for updates; 'd' for deletes. By default, no operations will be skipped. The option is a:java.lang.String
type. Group: mongodb
-
snapshotDelayMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder snapshotDelayMs(long snapshotDelayMs)
The number of milliseconds to delay before a snapshot will begin. The option is a:long
type. Default: 0ms Group: mongodb
-
snapshotDelayMs
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder snapshotDelayMs(String snapshotDelayMs)
The number of milliseconds to delay before a snapshot will begin. The option will be converted to along
type. Default: 0ms Group: mongodb
-
snapshotFetchSize
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder snapshotFetchSize(int snapshotFetchSize)
The maximum number of records that should be loaded into memory while performing a snapshot. The option is a:int
type. Group: mongodb
-
snapshotFetchSize
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder snapshotFetchSize(String snapshotFetchSize)
The maximum number of records that should be loaded into memory while performing a snapshot. The option will be converted to aint
type. Group: mongodb
-
snapshotMode
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder snapshotMode(String snapshotMode)
The criteria for running a snapshot upon startup of the connector. Options include: 'initial' (the default) to specify the connector should always perform an initial sync when required; 'never' to specify the connector should never perform an initial sync. The option is a:java.lang.String
type. Default: initial Group: mongodb
-
sourceStructVersion
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder sourceStructVersion(String sourceStructVersion)
A version of the format of the publicly visible source part in the message. The option is a:java.lang.String
type. Default: v2 Group: mongodb
-
tombstonesOnDelete
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder tombstonesOnDelete(boolean tombstonesOnDelete)
Whether delete operations should be represented by a delete event and a subsquenttombstone event (true) or only by a delete event (false). Emitting the tombstone event (the default behavior) allows Kafka to completely delete all events pertaining to the given key once the source record got deleted. The option is a:boolean
type. Default: false Group: mongodb
-
tombstonesOnDelete
default DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbEndpointBuilder tombstonesOnDelete(String tombstonesOnDelete)
Whether delete operations should be represented by a delete event and a subsquenttombstone event (true) or only by a delete event (false). Emitting the tombstone event (the default behavior) allows Kafka to completely delete all events pertaining to the given key once the source record got deleted. The option will be converted to aboolean
type. Default: false Group: mongodb
-
-