Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8557

ZKFileDataSource - Data import handler ZooKeeper data source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.4
    • None
    • None

    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).

      Attachments

        1. ZKFileDataSource.java
          4 kB
          Callum Lamb

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alwaysme Callum Lamb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: