Installation

The recommended way to get started using one of the drivers in your project is with a dependency management system.

MongoDB Scala Driver

The Reactive Streams based Scala implementation for asynchronous stream processing with non-blocking back pressure.

Scala 2.12


<dependencies>
    <dependency>
        <groupId>org.mongodb.scala</groupId>
        <artifactId>mongo-scala-driver</artifactId>
        <version>5.0.0_2.12</version>
    </dependency>
</dependencies>

Scala 2.11


<dependencies>
    <dependency>
        <groupId>org.mongodb.scala</groupId>
        <artifactId>mongo-scala-driver</artifactId>
        <version>5.0.0_2.11</version>
    </dependency>
</dependencies>