Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-57

FileAdaptor is reading inside the start method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • Data Collection
    • None

    Description

      The FileAdaptor is doing the reading part directly inside the start method and by doing that it makes the start operation synchronous with the ADD command.
      This will block the remote application.

      The start method should use a queue to add the file to be processed then a background thread should do the parsing.
      The background thread should be reuse since Thread creation is expensive.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jboulon Jerome Boulon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: