[ 
https://issues.apache.org/jira/browse/SOLR-8557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Callum Lamb updated SOLR-8557:
------------------------------
    Description: 
Data import handler doesn't have a data source type to pull files from 
ZooKeeper. So config files for data import have to be synchronized manually 
across all nodes in a cluster for them to work. Since I'm still stuck with 
using DIH for the time being I made a small class that adds this functionality. 

It works in the same way as FileDataSource does. It has the same encoding 
argument and basePath does the equivalent thing (if it's not set it assumes 
/configs/COLLECTION_NAME/FILENAME).





  was:
ZooKeeper doesn't have a data source type to pull files from ZooKeeper. So 
config files for data import have to be synchronized manually across all nodes 
in a cluster for them to work. Since I'm still stuck with using DIH for the 
time being I made a small class that adds this functionality. 

It works in the same way as FileDataSource does. It has the same encoding 
argument and basePath does the equivalent thing (if it's not set it assumes 
/configs/COLLECTION_NAME/FILENAME).






> ZKFileDataSource - Data import handler ZooKeeper data source
> ------------------------------------------------------------
>
>                 Key: SOLR-8557
>                 URL: https://issues.apache.org/jira/browse/SOLR-8557
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 5.4
>            Reporter: Callum Lamb
>            Priority: Minor
>         Attachments: ZKFileDataSource.java
>
>
> Data import handler doesn't have a data source type to pull files from 
> ZooKeeper. So config files for data import have to be synchronized manually 
> across all nodes in a cluster for them to work. Since I'm still stuck with 
> using DIH for the time being I made a small class that adds this 
> functionality. 
> It works in the same way as FileDataSource does. It has the same encoding 
> argument and basePath does the equivalent thing (if it's not set it assumes 
> /configs/COLLECTION_NAME/FILENAME).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to