This repository was archived by the owner on Jan 31, 2025. It is now read-only.
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Avoid using FJP.commonPool in Jet #2882
Open
Description
The FJP.commonPool
is shared with users. If they block out all threads in it, Jet jobs will be blocked. This happened with a customer recently. One case I know we're using it is when using the Async
methods from CompletableFuture
- we should review those cases and use our own executor. Maybe we can also disable the common pool altogether for tests to ensure it's not used.