You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The $changeStream stage is only supported on replica sets
详细
flink 增量任务启动报以下错误:Caused by: com.mongodb.MongoCommandException: Command failed with error 40573 (Location40573): 'The $changeStream stage is only supported on replica sets' on server 192.168.28.201:27017. The full response is {"ok": 0.0, "errmsg": "The $changeStream stage is only supported on replica sets", "code": 40573, "codeName": "Location40573"}
MongoServerError[NoReplicationEnabled]: This node was not started with replication enabled.
执行 rs.initiate(); 报以上错误。这个错误信息 MongoServerError[NoReplicationEnabled]: This node was not started with replication enabled. 表明 MongoDB 实例并没有配置为副本集成员,因此无法使用需要副本集功能的特性,如变更流(Change Streams)。
https://nightlies.apache.org/flink/flink-cdc-docs-release-3.2/docs/connectors/flink-sources/mongodb-cdc/#startup-reading-position
The text was updated successfully, but these errors were encountered: