You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2026/02/23 23:15:00 UTC

[jira] [Commented] (SOLR-14070) Deprecate CloudSolrClient's ZKHost constructor

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

David Smiley commented on SOLR-14070:
-------------------------------------

Sadly, this deprecation was inadvertently removed in SOLR-17771.  That mistake might not have happened if this deprecation was applied to CloudHttp2SolrClient's subclassing constructors, which were not marked deprecated but should have been.  So at this point... I'm going to un-resolve this issue.

> Deprecate CloudSolrClient's ZKHost constructor
> ----------------------------------------------
>
>                 Key: SOLR-14070
>                 URL: https://issues.apache.org/jira/browse/SOLR-14070
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ishan Chattopadhyaya
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 10.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> CloudSolrClient can be used by pointing it to a ZK cluster. This is inherently insecure.
> CSC can already be used in all the same ways by pointing it to a Solr cluster.
> Proposing to add a deprecation notice to the following constructor to the CloudSolrClient#Builder:
> {code}
> public Builder(List<String> zkHosts, Optional<String> zkChroot)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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