You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
whiskeysierra
changed the title
Consider implementing riptide based on Spring 5's WebClient
Consider implementing riptide based on a reactive stack
Nov 21, 2019
Returning a CompletableFuture is technically enough, but our current use of InputStream requires either blocking calls or at least buffering in case non-blocking IO. Neither of which is ideal when working reactive.
The AsyncRestTemplate also supports non-blocking interactions. The main difference is it can’t support non-blocking streaming, like for example Twitter one, because fundamentally it’s still based and relies on InputStream and OutputStream.
Spring uses reactor as it's abstraction, but in the context of #837 we shouldn't be bound by that.
The text was updated successfully, but these errors were encountered: