Project-reactor Questions
Ad
When FlatMap will listen to multiple sources concurrently?
What are the situations which cause flux::flatmap to listen to multiple sources (0...infinity) concurrently? i found
Unit testing retry in Spring Webflux with mocked response
During unit testing retry the response of the mock seems cached, or most probably i am doing something wrong. i am trying to request
How to cache Mono object
I have the following code: final t savedentity = repository.save(entity); entitycacheservice.putintocache(entity.getid(),
What is the best way to bind a periodic action to the Mono lifecycle?
I want to perform an action every second while the mono is active. what is the best way to do this? here is a working option, but it seems
What is the best way to programmatically assert a WebFlux stream?
So let us say we have something like: public class someservice { ... public flux<string> getstringsfromwebserver() { return
Reactive repository
I try to create some basic spring 5 application based on reactive stack (reactor + webflux). my next goal is to implement reactive
java reactor filterAndMap?
I want to use reactor achieve: for (val worker :
How to log empty Mono
Lets say i have the following lines repository.finduser(name = "john doe") .map { // user was found, continue
How does flatMap manage threads?
Flux.just("a", "b", "c") .log(null, level.info,true) // line 18 .flatmap(value -> mono.just(value.touppercase())
Basic questions about Reactor signals
I have some questions regarding the output of the following code: flux.just("a", "b", "c", "d") .log(null, level.info,
Ad
How to set event-loop pool size in Spring Webflux / WebClient?
In multi-reactor framework such as vert.x we can set the number of event-loop threads, e.g.: final vertxoptions
Reactor compose vs flatMap
I continue playing with reactor, and now i see compose operator that behave exactly like flatmap and i´m wondering if
Ad
Blog Categories
Ad