GitHub user AleiHanami opened a pull request:

    https://github.com/apache/storm/pull/2108

    STORM-2508:storm-solr enhancement: update solrj to 5.5, support custom 
SolrClientFactory and commit operation

    I have a case that the SolrCloud in my organization is protected by SSL + 
Basic Auth, so I need to provide customized SolrClient instance to 
SolrUpdateBolt. Likewise, the RestJsonSchemaBuilder cannot access Schema API 
without auth.
    In addition, for "near real-time search", soft commit is preferred, so it 
is better to expose an interface for user to customize commit operation.
    I think those features will also be useful for other people who needs to 
use custom SolrClient implementation and control the detail of commit 
operation. So, finally, I plan an enhancement for storm-solr:
    1. update solrj and related dependencies to 5.5;
    2. improve SolrConfig to support custom SolrClientFactory and 
CommitCallBack;
    3. provide a SchemaBuilder implementation which use custom SolrClient to 
request Schema API.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/AleiHanami/storm client-enhance

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/2108.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2108
    
----
commit e338fc6d024cb8cebd823908b24f8c65d5704537
Author: AleiHanami <rayinge...@gmail.com>
Date:   2017-05-10T14:58:41Z

    STORM-2508
    
    storm-solr enhancement: update solrj to 5.5, support custom 
SolrClientFactory and commit operation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to