Tomas Eduardo Fernandez Lobbe created SOLR-15155:
----------------------------------------------------

             Summary: Let CloudHttp2SolrClient accept an external 
Http2SolrClient Builder
                 Key: SOLR-15155
                 URL: https://issues.apache.org/jira/browse/SOLR-15155
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Tomas Eduardo Fernandez Lobbe


{{CloudHttp2SolrClient}} doesn't provide much of the options that 
{{Http2SolrClient}} does (timeouts, max connections per hosts, etc). 
Technically it accepts a fully built {{Http2SolrClient}}, however, in such case 
the client becomes "external", which means it won't be closed when the 
CloudClient is closed (one needs to maintain a reference and close explicitly 
after closing CloudClient). 
{{CloudHttp2SolrClient}} will use an empty/default {{Http2SolrClient.Builder}} 
to build it's internal client. I propose we allow providing a configured  
{{Http2SolrClient.Builder}} instead and let the {{CloudHttp2SolrClient}} just 
build from it. This would be optional of course, and backwards compatible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to