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
I wonder how we should instantiate an http client using rxnetty without binding it to a specific endpoint at the instantiation time? (The use case is for fail over scenarios from one endpoint to other endpoint known at runtime)
Other http clients (e.g., apache http client) allow instantiating a client without binding it to a specific endpoint at the instantiation time, but not sure how to do it using rxnetty
Thanks
The text was updated successfully, but these errors were encountered:
/**
* An implementation of {@link HttpClient} that can execute requests over multiple hosts.
* Internally this implementation uses one {@link HttpClientImpl} per unique
* {@link io.reactivex.netty.client.RxClient.ServerInfo}.
* The only way to create this client is via the {@link CompositeHttpClientBuilder}
*
* @author Nitesh Kant
*/
public class CompositeHttpClient<I, O> extends HttpClientImpl<I, O> {
Hi,
We are on RxNetty 0.4.x. Seems passing endpoint to RxNetty.createHttpClient(.) is required.
https://github.com/ReactiveX/RxNetty/blob/0.4.x/rxnetty/src/main/java/io/reactivex/netty/RxNetty.java#L169-L170
I wonder how we should instantiate an http client using rxnetty without binding it to a specific endpoint at the instantiation time? (The use case is for fail over scenarios from one endpoint to other endpoint known at runtime)
Other http clients (e.g., apache http client) allow instantiating a client without binding it to a specific endpoint at the instantiation time, but not sure how to do it using rxnetty
Thanks
The text was updated successfully, but these errors were encountered: