ReactiveMongo is a scala driver that provides fully non-blocking and asynchronous I/O operations.
First add the dependencies in your
libraryDependencies ++= Seq( "org.reactivemongo" %% "reactivemongo" % "VERSION" )
See the documentation
To benefit from the latest improvements and fixes, you may want to compile ReactiveMongo from source. You will need a Git client and SBT.
From the shell, first checkout the source:
$ git clone firstname.lastname@example.org:ReactiveMongo/ReactiveMongo.git
Then go to the
ReactiveMongo directory and launch the SBT build console:
$ cd ReactiveMongo $ sbt > +publish-local
In order to execute the unit and integration tests, SBT can be used as follows.
The test environement must be able to handle the maximum number of incoming connection for the MongoDB instance. This must be checked, and eventually updated, using
Reproduce CI build:
To reproduce a CI build, see the Docker tools.
See also the samples