Changestream returning errors about oplog.rs ? Possible?

Hi Community!

I have a Mongo Cluster, provided by Yandex cloud provider. I’d like to connect a kafka-connect (debezium) so i can source data from my collections and sink them into my kafka-cluster.

I’m running the 1.8 version of Debezium which is working with changestream by default, and not with oplogs like before. However, i still have errors messages like this on my connector’s status :

com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized on local to execute command { find: \"oplog.rs\", filter: {}, sort: { $natural: -1 }, limit: 1, singleBatch: true, $db: \"local\", lsid: { id: UUID(\"5165ef55-da7c-40cc-b9c9-b7c4a0b18d2b\") }, $readPreference: { mode: \"primaryPreferred\" } }' on server XXXXX

→ my questions

  • Is it possible to get this kind of error message, even if i’m using changestream ?
  • If Yandex’s operators give me the required rights on my deployment, will this message disappears ?

Thanks in advance, and have a nice day!