Reactive and Imperative Context Propagation in Spring Applications by Dariusz Jędrzejczyk

Published: 01 January 1970
on channel: SpringDeveloper
6,247
130

Applications have relied on contextual data that is outside of core business logic for a long time to provide vital insight into what the application is doing. Traditionally, Java applications built on the ThreadLocal construct to aggregate meta and observability information. With the introduction of asynchrony to the processing, it became easy to lose the precious, contextual data.

After providing the background behind current design and implementation of context support in Project Reactor, we’ll move to practical aspects that Spring application developers face. We’ll introduce a new Context Propagation library under Micrometer, which provides new and essential capabilities for bridging reactive and imperative programming styles. Reactor 3.5 has dedicated support for interacting with these concepts.

Next, we’ll cover how Reactor uses Micrometer 1.10’s Observation feature to provide metrics, tracing, and logging and how library implementers can take advantage of these patterns.


Watch video Reactive and Imperative Context Propagation in Spring Applications by Dariusz Jędrzejczyk online, duration hours minute second in high quality that is uploaded to the channel SpringDeveloper 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 6,247 times and liked it 130 visitors.