Date: 2026-02-23 Branch: main (SDK version: 1.1.0-SNAPSHOT, latest release: 1.0.0 GA) Current Tier: 2
The SDK now meets all Tier 2 requirements. The path to Tier 1 has three remaining blockers.
| package dev.jedrzejczyk.reactorlab; | |
| import java.util.List; | |
| import reactor.core.publisher.Flux; | |
| import reactor.core.scheduler.Schedulers; | |
| public class WrapAroundExercise { | |
| public static void main(String[] args) { |
| @Test | |
| void testMDC() { | |
| Logger log = LoggerFactory.getLogger("test"); | |
| Hooks.enableAutomaticContextPropagation(); | |
| // To deal with the entire MDC (if we ensured no third-party code modifies it): | |
| // ContextRegistry.getInstance().registerThreadLocalAccessor(new MdcAccessor()); | |
| // To deal with an individual key in the MDC: |
| @BenchmarkMode({Mode.AverageTime}) | |
| @Warmup(iterations = 5, time = 5, timeUnit = TimeUnit.SECONDS) | |
| @Measurement(iterations = 5, time = 5, timeUnit = TimeUnit.SECONDS) | |
| @Fork(value = 1) | |
| @OutputTimeUnit(TimeUnit.NANOSECONDS) | |
| @State(Scope.Benchmark) | |
| public class MonoOptionalBenchmark { | |
| private static final Throwable EXCEPTION = new RuntimeException() { | |
| @Override |