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

Allow batching for emitters

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tika-pipes
    • None

    Description

      Started an interface in comments: https://github.com/apache/tika/blob/main/tika-core/src/main/java/org/apache/tika/pipes/emitter/Emitter.java#L34

       

      The AbstractEmitter can keep track of "batch size" – how many bytes are in the batch.  The caller can check for that after each addition and then call executeBatch, or at the end of the task list.

       

      We'll have to have a separate handler in tika-server `async-emit` ( ? ) to handle this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: