Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 1.0.1
-
None
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.