Reputation: 358
I am looking for an option wherein I can limit the amount of data that is being currently processed.
Use case: I am reading from a Kafka data stream and processing that data, and I want to limit the number of messages that are in-flight. The reason for doing this is the throughput of the third-party application. Generally it's not an issue, but in the scenarios of backpressure, there are frequent failures and application restarts because of these failures.
Upvotes: 1
Views: 1551
Reputation: 43499
Some tools available for this are:
Upvotes: 1