4PointSolutions / 4PointSolutions/FluentFormsAPI
Add CorrelationId logic into Spring Starter
- Lenguaje dominante
- Java
- Estrellas
- 7
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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).
Guía de contribución
Línea de trabajo
Examina el Spring Boot starter module del proyecto para comprender su estructura. Investiga cómo crear una Spring Boot auto-configuration que añada un correlation ID filter/interceptor y se integre con el MDC de SLF4J. Revisa la logging configuration existente para ver cómo incluir automáticamente el correlation ID en los log patterns. Una implementación funcional debe proporcionar un correlation ID que se propague a través de las HTTP requests y aparezca en todos los log messages.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- spring, spring-boot
- Área
- backend, developer-experience, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100