I have a method that returns a Flux, let\'s suppose SensorData has a field measure: Integer.
Flux
measure: Integer
I would like to calculate the av
Mono average = sensorFlux.collect(Collectors.averagingInt(SensorData::getMeasure))