Docs Menu
Docs Home
/ / /
Java Reactive Streams Driver

Installation

The recommended way to get started with the Java Reactive Streams driver in your project is by using a dependency management system.

The following dependency contains the Reactive Streams implementation for asynchronous stream processing with non-blocking back pressure.

If you are using Maven to manage your packages, add the following entry to your pom.xml dependencies list:

<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-reactivestreams</artifactId>
<version>5.1.4</version>
</dependency>
</dependencies>

If you are using Gradle to manage your packages, add the following entry to your dependencies list:

dependencies {
implementation 'org.mongodb:mongodb-driver-reactivestreams:5.1.4'
}

Back

MongoDB Java Reactive Streams Driver

Next

Get Started