epugh commented on code in PR #943:
URL: https://github.com/apache/solr/pull/943#discussion_r947196292
##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudHttp2SolrClient.java:
##########
@@ -68,7 +69,21 @@ protected CloudHttp2SolrClient(Builder builder) {
"Both zkHost(s) & solrUrl(s) have been specified. Only specify
one.");
}
if (builder.zkHosts != null) {
- this.stateProvider = new ZkClientClusterStateProvider(builder.zkHosts,
builder.zkChroot);
+ try {
Review Comment:
Worth some docs on this? Why do we need to use the Class.forName, is this
potentially pluggable somehow? Makes me think of JDBC drivers!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]