Provides a stable store of MDC data relating to a Request.
As long as all data to be added to the MDC is added via RequestMdc (RequestMdc.add(request.id, Map("mykey", "myval"))), then RequestMdc.initMdc(request.id) can be called whenever a Request is in scope to ensure the thread has the correct MDC.
Ensures the MDC is populated with only the data previously registered with RequestMdc. It can be called periodically, to ensure MDC is correct. E.g. after an async boundary.
Ensures the MDC is populated with only the data previously registered with RequestMdc. It can be called periodically, to ensure MDC is correct. E.g. after an async boundary.