4PointSolutions / 4PointSolutions/FluentFormsAPI

Add CorrelationId logic into Spring Starter

未关闭
#37 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Java
星标
7
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

One thing that is commonly required in FluentForms app server code is the need for a correlation id (an ID that is optionally provided by a caller that travels with and identifies a particular transaction). We have utilized such code in previous projects, however it would be nice if it could be incorporated into the Spring Boot starter so that it is easy and has a minimal amount of boilerplate code.

It would also be nice if it autoconfigures logging to incorporate the correlation id in all log messages. To do this, it could utilized SLF4J's [Mapped Diagnostic Context](https://www.slf4j.org/manual.html#mdc) (see [here](https://logback.qos.ch/manual/mdc.html) also).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。