I have the following example:
Flux.just(1,2,3,4,5,6,7,8) .flatMap(integer -> { System.out.println("val:" + in