4PointSolutions / 4PointSolutions/FluentFormsAPI

Add CorrelationId logic into Spring Starter

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
7
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.