Reactive and Imperative Context Propagation in Spring Applications

Watch on Twitch
Watch on YouTube
6:00 PM UTC on Tuesday, May 16, 2023

Reactive and Imperative Context Propagation in Spring Applications

Reactive and Imperative Context Propagation in Spring Applications

May 16, 2023

In this episode

Add to calendar

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.

Guests

Dariusz Jędrzejczyk

Dariusz Jędrzejczyk

Dariusz is a member of the Project Reactor team. Passionate about developer productivity, distributed systems, concurrency, system design, and networking. Dariusz has commercial experience in Platform Engineering, having designed and maintained high scale systems supporting microservice architecture. He also delivered consulting and training in Java and Big Data solutions.

Hosts

Cora Iberkleid

Cora Iberkleid

Cora Iberkleid is a Developer Advocate for Modern Applications at VMware Tanzu, helping developers and enterprises navigate modern practices and technologies, focusing on cloud native architecture, modern CI/CD, Spring, and Kubernetes.

Prior to joining VMware, Cora was an Advisory Solutions Engineer at Pivotal. She also spent nearly a decade at Sun Microsystems and Oracle, helping customers design and build enterprise integration applications. Through this experience, she developed an understanding and empathy for complex organizational challenges, and she strives to incorporate this empathy into her everyday work.