Registry / database / mongodb-driver-reactivestreams

mongodb-driver-reactivestreams

JSON →
library5.6.4javamavenunverified

A Reactive Streams implementation of the MongoDB Java driver for asynchronous database operations.

<dependency> <groupId>org.mongodb</groupId> <artifactId>mongodb-driver-reactivestreams</artifactId> <version>5.6.4</version> </dependency>
INSTALL
IMPORT
SIG · MONGODB-DRIVER-REA
M
mongodb-driver-reactivestreams
databasejavav5.6.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MongoClients
com.mongodb.reactivestreams.client.MongoClients

Creates a reactive MongoDB client and connects to a local instance.

import com.mongodb.reactivestreams.client.MongoClients; import com.mongodb.reactivestreams.client.MongoClient; MongoClient client = MongoClients.create("mongodb://localhost:27017"); System.out.println("Connected to MongoDB"); client.close();
Debug
Known issues
gotchaReactive streams driver requires a reactive programming framework like Project Reactor or RxJava for subscription.
fix
Add a dependency on reactor-core or rxjava and use .subscribe() or .block() to execute operations.
affects: all
Upgrade
Version history
5.6.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mongodb-driver-reactivestreams — mvn dependency:get mongodb-driver-reactivestreams · libregistry