In my webflux-application I am consuming messages from AWS-SQS and use them to invoke several HTTP-requests on a slow backend (response times up to 5 seconds).
I realized that the more messages I consume, the slower the backend gets, until it dies, due to too much traffic.
How can I use the reactor / webflux mechanism, to control the number of requests I send to a backend? I tried some stuff with limit / limitRate, but it didn't work as expected.
Do you have any samples/ideas?