tzulitai opened a new pull request #138:
URL: https://github.com/apache/flink-statefun/pull/138
Prior to this PR, we only support setting the call timeout for remote
functions, which spans a complete call including connection, writing request,
server-side processing, and reading response.
To allow more fine-grained control of this, this PR introduces configuration
keys for `connectTimeout` / `readTimeout` / `writeTimeout` to remote function
specs.
By default, these values should be 10 seconds to be coherent with the
current behaviour
Usage:
```
function:
meta:
kind: http
type: com.foo/world
spec:
endpoint: http://localhost:5959/statefun
states:
...
timeout: 2minutes
connectTimeout: 20seconds
readTimeout: 1second
writeTimeout: 10seconds
```
----------------------------------------------------------------
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]