Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1762

Create Executor Service from TikaConfig

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11
    • Component/s: None
    • Labels:
      None

      Description

      Create a configurable executor service that is configurable from the TikaConfig.

      Konstantin Gribov added a comment - 23/Sep/15 09:55

      Bob Paulin, I have two ideas on the issue:

      by default use common thread pool, configured via and contained in TikaConfig as Tyler Palsulich suggested,
      you can pass thread pool for parser invocation via ParserContext with fallback to default if now thread pool/executor service in context.

      Also o.a.tika.Tika#parse(InputStream, Metadate) produces o.a.tika.parser.ParsingReader and anonymous Executor with unbounded daemon thread creation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bobpaulin Bob Paulin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: