I have a Spark job which reads data from MongoDB, everything is fine when I connect to MongoDB 3.x, But when I upgrade to MongoDB 4.x, runtime error happens.
now my spark