Logging and Testing with Helidon
summary
Helidon provides a unified MDC API that adds MDC support to java.util.logging and propagates MDC values across threads so async JAX‑RS client callbacks still show the same request id, and the demo proves it works. Testing uses a Helidon Test annotation that auto‑creates server and WebTarget on a random port, supports class or per‑test configuration overrides, injectable config properties, and adding single test CDI beans with optional per‑test reset to recreate server between tests.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:26What is Helidon
- 3:07Logging support overview
- 5:12MDC propagation demo
- 7:18Demo begins
- 14:07Testing basics
- 20:16Logging summary
- 20:36Testing enhancements
- 36:39CDI test beans
- 41:33Q&A session
related talks
39mHelidon: Java Libraries for Writing Microservices
41mHelidon - Microservices on Modern Java
45mVirtual Threads in the Real World: Fast, Robust Java Microservices with Helidon
49mRevolutionizing Microservices Development with Helidon 4!
35mInvited Talk: Developing cloud-native microservices using project Helidon
31mFly like a rocket with Helidon
29mFly like a rocket with Helidon
14mEmbracing Virtual Threads
