Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

what library to import to use MongodbConfig?

what library to import to use MongodbConfig?


my project is to stream data from kafka to mongodb, so I have to use mongodbConfig.Host mongodbConfig.Database, mongodbConfig.Collection etc.

when sbt compile, I got errors on all these mongodbConfig:

not found: value mongodbConfig

But I found no libraries in SCALA to import for mongodbConfig.

anyone can help?

thank you so much.

Don't have an account?
Coming from Hortonworks? Activate your account here