Release 1.1.0: async/thread propagation, MDC, cross-service tracing o… - #1
Merged
Conversation
…ver Kafka/RabbitMQ/HTTP - Add FlowContextPropagatingExecutor / FlowContextTaskDecorator for call-chain propagation across thread hand-offs, including virtual threads and @async - Detect CompletableFuture return types and record duration/outcome on completion instead of submission - Add MDC structured logging (LoggedMdcKeys, MdcPropagation, MdcContextPropagation) - Add RequestAttributes/SecurityContext propagating executors and task decorators for caller-identity continuity across thread hand-offs - Add cross-service trace propagation over Kafka and RabbitMQ headers (KafkaTraceHeaderCarrier, RabbitTraceHeaderCarrier) via a new public FlowContextCarrier facade - Add cross-service trace propagation over HTTP (RestTemplate, Feign, WebClient, inbound servlet filter) via HttpTraceHeaderCarrier - Reject @Logged methods returning a reactive Publisher at startup instead of silently mismeasuring an unsubscribed pipeline - Validate incoming trace ids against this library's own format across all three carriers (HTTP/Kafka/RabbitMQ) to close a log-forgery/CRLF injection vector; document the remaining, unavoidable trust-boundary risk (a well-formed but spoofed trace id) in the README - Fix className resolution to report the concrete target class instead of the proxied interface; cache class/method name resolution per invocation site - Fix LoggedAspect to restore MDC and close the flow scope from a single finally block, so an Error from a collaborator no longer skips cleanup - Fix LoggedTargetGuardBeanPostProcessor to walk the superclass chain when checking for @Logged methods - Fix LazyMetricsRecorder to stop permanently caching a "no MeterRegistry" outcome - Clamp EmissionPolicy sample rate to [0.0, 1.0] Bumps version to 1.1.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ver Kafka/RabbitMQ/HTTP
Bumps version to 1.1.0.