Polishing contribution
Closes gh-30403
This commit is contained in:
@@ -1064,7 +1064,9 @@ Annotated, RSocket exchange methods support return values that are concrete valu
|
||||
any producer of value(s) that can be adapted to a Reactive Streams `Publisher` via
|
||||
`ReactiveAdapterRegistry`.
|
||||
|
||||
TIP: For non-reactive types, blocking from a reactive publisher is performed
|
||||
under the hood by the framework. By default, it is done without a timeout.
|
||||
You can set a timeout for blocking by calling `blockTimeout(Duration blockTimeout)`
|
||||
on `RSocketServiceProxyFactory.Builder`.
|
||||
By default, the behavior of RSocket service methods with synchronous (blocking) method
|
||||
signature depends on response timeout settings of the underlying RSocket `ClientTransport`
|
||||
as well as RSocket keep-alive settings. `RSocketServiceProxyFactory.Builder` does expose a
|
||||
`blockTimeout` option that also lets you configure the maximum time to block for a response,
|
||||
but we recommend configuring timeout values at the RSocket level for more control.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user