Spring webflux data in ReactJs UI
问题 I am playing around with spring webflux. I have created a project which would listen on a mongo capped collection and return the flux of data as and when it comes. I am using @Tailable in my repository method. My controller looks like this @GetMapping("/findall") public Flux<Product>> findAll() { return productRepository.findAllProducts().; } This is working perfectly fine. I tested this by addind a doOnNext(...) , Whenever there is a new item added to my capped collection, consumer inside