[ 
https://issues.apache.org/jira/browse/SOLR-15223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17512376#comment-17512376
 ] 

ASF subversion and git services commented on SOLR-15223:
--------------------------------------------------------

Commit 4fc2c873d5dc2bd49f8eb63d68f57f3009255592 in solr's branch 
refs/heads/branch_9x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=4fc2c87 ]

SOLR-15223: BaseCloudSolrClient is the new CloudSolrClient (#750)

* Rename CloudSolrClient to CloudLegacySolrClient (deprecated)
* Rename BaseCloudSolrClient to CloudSolrClient
* Add CloudSolrClient.Builder via CloudHttp2SolrClient.Builder

Note: all users of CloudSolrClient are now using CloudLegacySolrClient because 
this commit is only a refactoring.  

Co-authored-by: Jan Høydahl <jan...@users.noreply.github.com>
Co-authored-by: Christine Poerschke <cpoersc...@apache.org>

> Deprecate Apache-HttpClient, refactor CloudSolrClient to use jetty-httpclient
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-15223
>                 URL: https://issues.apache.org/jira/browse/SOLR-15223
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>            Reporter: David Smiley
>            Assignee: Jan Høydahl
>            Priority: Blocker
>              Labels: newdev
>             Fix For: 9.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> Solr has had an HTTP/2 based SolrClient since 8.0.  Maintaining both HTTP/1 
> and HTTP/2 clients is a pain for maintenance of the project as it sometimes 
> means duplicative (or partially implemented) work, especially for 
> authentication but also sometimes metrics or tracing.  Both adds extra 
> dependencies for SolrJ and thus our users.  It's difficult to grok a codebase 
> using two different HTTP client frameworks.
> In this issue, mark HttpSolrClient (and related ones) as deprecated; point to 
> HTTP/2 equivalents.  ~Furthermore, mark the Apache "httpcomponents" libs as 
> "optional" in the produced Maven pom.xml so that users have to explicitly 
> opt-in to use it.  Announce this in the Solr users list as well.~
> Out of scope to this issue is completely cutting over within Solr itself.
> The plan is to remove apache http client in main branch (10.0)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to