tzulitai opened a new pull request #186: URL: https://github.com/apache/flink-statefun/pull/186
This PR adds throttling to the `RequestReplyFunction`, to mitigate heavily loading remote functions on startup or restores where there is a large backlog of events to process through. The change is rather simple: on receiving the first input for a given function type, dispatch the invocation as usual but block further inputs (by calling `context.awaitResponseIfNotBootstrapped`) until the request is complete. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
