Mashiane Expert Licensed User Longtime User Apr 22, 2025 #1 Hi How can one trap SSE on jmongo to detect changes when CRUD functions are performed? I found this from chatgpt B4X: MongoClients.create() .getDatabase("test") .getCollection("myCollection") .watch() .subscribe(change -> System.out.println("Change detected: " + change)); Apparently one can do such with something called re-active streams mongo-java-driver/driver-reactive-streams at main · mongodb/mongo-java-driver The official MongoDB drivers for Java, Kotlin, and Scala - mongodb/mongo-java-driver github.com Is there something like this with jMongo that we can use or an alternative methodology to trap realtime CRUD events? Thanks.
Hi How can one trap SSE on jmongo to detect changes when CRUD functions are performed? I found this from chatgpt B4X: MongoClients.create() .getDatabase("test") .getCollection("myCollection") .watch() .subscribe(change -> System.out.println("Change detected: " + change)); Apparently one can do such with something called re-active streams mongo-java-driver/driver-reactive-streams at main · mongodb/mongo-java-driver The official MongoDB drivers for Java, Kotlin, and Scala - mongodb/mongo-java-driver github.com Is there something like this with jMongo that we can use or an alternative methodology to trap realtime CRUD events? Thanks.