Tim Allison created TIKA-3288:
---------------------------------

             Summary: Allow batching for emitters
                 Key: TIKA-3288
                 URL: https://issues.apache.org/jira/browse/TIKA-3288
             Project: Tika
          Issue Type: Task
          Components: tika-pipes
            Reporter: Tim Allison


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to