MongoDB reactive stream asynchronous processing examples with CompletableFuture

Hi Team,

I need some support on the usage of MongoDB reactive streams for asynchronous processing .

How can i use of MongoDB reactive streams along with CompletableFufure for asynchronous processing or

is there any other way than CompletableFuture to achieve asynchronous processing with MongoDB reactive streams?

Thanks in Adavance :slight_smile:


You can use to convert reactive types to CompletableFuture. We have been using it while migrating our app to reactive streams. However, I really would like to recommend to check out more about reactive streams and consider fully writing your app that way.