Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Hi there,
For Elasticsearch Output Connector, during use, I have exeperienced cases that required the values of socketTimeout and connectionTimeout to be increased.
However, as those values are being hardcoded within the source code as 900000(ms) and 60000(ms) respectively, it is quite troublesome to update them in cases mentioned above.
For this reason, instead of hardcoding, I think it would be better that the values of socketTimeout and connectionTimeout can be edited through WebUI, on the connection setting screen.
In ManifoldCF, there are also a few other connectors that support setting socketTimeout and connectionTimeout, such as Generic, Confluence, etc.
Therefore, I would like to suggest modifying the ElasticSearch Output Connector's source code to allow setting socketTimeout and connectionTimeout value when it is needed.
1. Connector Name
ElasticSearch Output Connector
2. Improvement Detail
On connection setting screen (WebUI), add handling method that enable value setting for socketTimeout and connectionTimeout
※The default value for socketTimeout and connectionTimeout are still 900000 and 60000 (ms) as they are.
The connection setting screen will look like below:
3. Suggested source code (based on release 2.22.1)
Because the content is edited in many files & the number of LOC is quite large,
I will attach the patch file here, please check it out.
patch.txt