Using the MongoDB Spark Connector I'm not able to connect to the change stream of a CosmosDB Mongo database.
I've tried to use the MongoDB Spark Connector, but if fails with:
com.mongodb.spark.sql.connector.exceptions.MongoSparkException: Could not create the change stream cursor.
This MongoDB Developer Community post mentions that colStats is not implemented in CosmosDB so I cannot use the Spark Connector.
Is there any other way to natively consume the change stream from Cosmos for MongoDB in Spark, that does not involve any intermediate step like having a feed processor?