You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2020/04/04 23:21: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=17075561#comment-17075561 ]
Jan Høydahl commented on SOLR-14070:
------------------------------------
In [a comment to SOLR-599|https://issues.apache.org/jira/browse/SOLR-599?focusedCommentId=17040356&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17040356] it is claimed that the ZK version of CloudSolrClient is the only way to do TRA and other heavy alias use. So I guess we cannot deprecate this constructor until we can tell *all* users to move to something else?
> 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
>
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org