[
https://issues.apache.org/jira/browse/SOLR-14070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17607388#comment-17607388
]
Jan Høydahl commented on SOLR-14070:
------------------------------------
The constructor has got a pretty clear Javadoc discussing the pros/cons of
talking to ZK directly from application clients, see
[https://github.com/apache/solr/blob/main/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java#L156-L180]
[~dsmiley] any thoughts on this? I think I vote for closing as won't fix. Ishan?
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]