Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-606

ElasticSearch connector does not use background thread for http communication, and should

    XMLWordPrintableJSON

Details

    Description

      The Elastic Search connector communicates using httpcomponent without going via a background thread. This is a problem because any socket waits on an elastic search server will block ManifoldCF agents shutdown.

      Please see the RSS connector, web connector, livelink connector, or SharePoint connector for an example of proper use of background threading for http communication. The Livelink connector is the simplest.

      It is also important to never load entire documents into memory, but stream them instead.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: