Open
Description
Scoped Values (Preview) is proposed to target JDK 21: https://openjdk.org/jeps/446
I haven't put a ton of thought into what an integration with this might look like in context-propagation, but it seems worth investigating as a lightweight alternative to propagation via ThreadLocal
. It would be good if we can give any feedback about Scoped Values before it exits preview.