Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
1.9.5.Final
-
None
-
False
-
None
-
False
-
A recommended configuration with Debezium 2.0 is to use the {code}mongodb.connection.string{coode}. Please reopen the issue if the problem persists.
Description
When I was giving the full list of hosts in configuration, the MongoDB connector failed to capture events with message here: https://debezium.zulipchat.com/#narrow/stream/302529-users/topic/MongoDB.20.20jumps.20to.20localhost.3A27017
After I limit to only one host for the mongodb.hosts, it started to run
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
1.9.5.final
What is the connector configuration?
connectors-properties: my-mongo-cdc-connector: name: my-mongo-cdc-connector connector.class: io.debezium.connector.mongodb.MongoDbConnector mongodb.name: ${connector.convs.mongo.cdc.name} mongodb.hosts: cluster-config/[host] mongodb.authsource: admin mongodb.members.auto.discover: true mongodb.user: debezium mongodb.password: {password} mongodb.ssl.enabled: true mongodb.ssl.invalid.hostname.allowed: false tasks.max: 2 snapshot.mode: initial capture.mode: change_streams_update_full database.include.list: db collection.include.list: db.collection
What are the captured database version and mode of deployment?
(E.g. on-premises, with a specific cloud provider, etc.)
<Your answer>
What behaviour do you expect?
Connector runs
What behaviour do you see?
https://debezium.zulipchat.com/#narrow/stream/302529-users/topic/MongoDB.20.20jumps.20to.20localhost.3A27017 message log
Do you see the same behaviour using the latest released Debezium version?
(Ideally, also verify with the latest Alpha/Beta/CR version)
<Your answer>
Do you have the connector logs, ideally from start till finish?
(You might be asked later to provide DEBUG/TRACE level log)
<Your answer>
How to reproduce the issue using our tutorial deployment?
<Your answer>
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
<Your answer>
Implementation ideas (optional)
<Your answer>