Re: HttpClusterStateProvider connects in constructor instead of in connect()

2019-02-21 Thread Shalin Shekhar Mangar
Yes, thanks Jan. Another problem I found with it was that it does not support basic auth. I can open a separate issue about that. On Thu, Feb 21, 2019 at 4:46 AM Ishan Chattopadhyaya < ichattopadhy...@gmail.com> wrote: > +1, please open an issue. Seems like an oversight/bug. > > On Thu, Feb 21, 2

Re: HttpClusterStateProvider connects in constructor instead of in connect()

2019-02-21 Thread Ishan Chattopadhyaya
+1, please open an issue. Seems like an oversight/bug. On Thu, Feb 21, 2019 at 3:46 PM Jan Høydahl wrote: > Hi, > > I was surprised that the HttpClusterStateProvider starts connecting to > Solr already > in the constructor and not when cluster state is first requested, using > the connect() meth

HttpClusterStateProvider connects in constructor instead of in connect()

2019-02-21 Thread Jan Høydahl
Hi, I was surprised that the HttpClusterStateProvider starts connecting to Solr already in the constructor and not when cluster state is first requested, using the connect() method. The connect() method from ClusterStateProvider interface is implemented with an empty body. Risking that the con