Add support for custom Executor

Open
#664 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
api

Research direction

Start by tracing the client construction and the blocking and asynchronous API methods described in the issue. Define the executor configuration and verify that asynchronous operations use the custom Executor while blocking methods remain on the calling thread; add tests for both behaviors.

Written by the indexing model from the issue text.

Description

Currently all the blocking API methods run on the calling thread, and the async methods run on the fork-join pool. We should allow for passing in (or building the client) with a custom Executor for async operations.

Dominant language
Java
Stars
136
Forks
26
Avg merge
1d 1h
Merged PRs (30d)
47

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docling-project/docling-java

All issues in docling-project/docling-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.