reactor / BlockHound

Java agent to detect blocking calls from non-blocking threads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make Thread predicate configurable

bsideup opened this issue · comments

To improve the reactive interop, we should be able to mark custom threads as "non-blocking", e.g. Threads started by Cassandra driver.

The API draft:

BlockHound.builder()
    .threadPredicate(thread -> ...)
    .install();