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

Suggestion for adding function that allows setting timeout values for Elasticsearch Output Connector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • ManifoldCF 2.24
    • 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

      Attachments

        1. EditConnection.PNG
          65 kB
          Nguyen Huu Nhat
        2. patch.txt
          17 kB
          Nguyen Huu Nhat
        3. ViewConnection.PNG
          91 kB
          Nguyen Huu Nhat

        Activity

          People

            kwright@metacarta.com Karl Wright
            NhatNH Nguyen Huu Nhat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: