Configuring the changeStreamPreAndPostImages in the connector.yaml file while using MongoDB versions prior to 6.0 causes the connector to fail at startup.
The goal of this PR is to write a WARN level log message that can better inform the user, and to prevent the connector from failing.
It also marks the changeStreamPreAndPostImages connector configuration as deprecated. The purpose of the connector was never to provide a way to configure MongoDB, and enabling such configuration should be done directly on the database.
Configuring the
changeStreamPreAndPostImages
in theconnector.yaml
file while using MongoDB versions prior to6.0
causes the connector to fail at startup.The goal of this PR is to write a WARN level log message that can better inform the user, and to prevent the connector from failing.
It also marks the
changeStreamPreAndPostImages
connector configuration as deprecated. The purpose of the connector was never to provide a way to configure MongoDB, and enabling such configuration should be done directly on the database.