How to use project reactor backpressure feature with kafka binder in spering cloud stream?
@Bean
public Function<Flux<String>, Flux<String>> processor() {
return flux -> flux.delayElements(Duration.ofSeconds(1));
}
If I use this way, than publisher send messages with delay of 1 second, but consumer consume messages without any delay.
It is possible to use backperessure on cunsumer with spring cloud stream?