MongoDB Java Driver legacy all-in-one JAR providing comprehensive database connectivity for Java applications with synchronous APIs, CRUD operations, aggregation, GridFS, change streams, and authentication support
—
Real-time data monitoring with resumable change streams for tracking database, collection, and document-level changes with full event details.
public interface ChangeStreamIterable<TResult> extends MongoIterable<ChangeStreamDocument<TResult>> {
ChangeStreamIterable<TResult> fullDocument(FullDocument fullDocument);
ChangeStreamIterable<TResult> resumeAfter(BsonDocument resumeToken);
ChangeStreamIterable<TResult> startAfter(BsonDocument startAfter);
ChangeStreamIterable<TResult> startAtOperationTime(BsonTimestamp startAtOperationTime);
ChangeStreamIterable<TResult> maxAwaitTime(long maxAwaitTime, TimeUnit timeUnit);
ChangeStreamIterable<TResult> batchSize(int batchSize);
}
public class ChangeStreamDocument<TDocument> {
public OperationType getOperationType();
public BsonDocument getResumeToken();
public MongoNamespace getNamespace();
public BsonDocument getDocumentKey();
public TDocument getFullDocument();
}[Full change streams documentation would follow...]
Install with Tessl CLI
npx tessl i tessl/maven-org-mongodb--mongo-java-driver