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

Vishnu Priya commented on SOLR-18056:
-------------------------------------

[~dsmiley] 
Currently, the CloudSolrClient uses cluster property (like 
provider.getClusterProperty(ClusterState.URL_SCHEME, "http")) to get the url 
Scheme.
 
Was the suggestion is to have a method  *getUrlScheme* in 
*ClusterStateProvider* thereby allowing the implementation class (like 
HttpClusterStateProvider and ZkClientClusterStateProvider) to define their own 
way of coming up with the Url scheme and also make  CloudSolrClient to use this 
method (instead of relying on the cluster properties) ?

> HttpClusterStateProvider; use urlScheme from initial quorum
> -----------------------------------------------------------
>
>                 Key: SOLR-18056
>                 URL: https://issues.apache.org/jira/browse/SOLR-18056
>             Project: Solr
>          Issue Type: Improvement
>          Components: security, SolrJ
>            Reporter: David Smiley
>            Priority: Major
>              Labels: newdev
>
> Refactor ClusterStateProvider to have a method to get the urlScheme in the 
> way CloudSolrClient requests it today.  Then improve HttpClusterStateProvider 
> to use the scheme from the quorum nodes that were provided instead of from 
> cluster props.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to