Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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.