How to connect to Mongo DB Using Spark session using zeppelin
I am using the below script but am getting a authentication error?
In the uri I am passing the connection string/port/user and password.
people.write.format("mongodb").mode("append").option("database", "people").option("collection", "contacts").save()