Skip to content

Conversation

@toizo
Copy link
Collaborator

@toizo toizo commented Dec 30, 2025

This PR refactors message metadata handling by removing legacy correlationId and causationId fields and replacing them with OpenTelemetry-compatible Trace Context propagation, as discussed in #101 .

The main changes include:

  • Message Metadata:

    • Removed CorrelationId and CausationId from MessageEnvelopeProperties, Metadata, and MessageHandlerContext.
    • Added a TraceParent property to support distributed tracing.
  • Tests:

    • Updated or removed tests that referenced correlationId and causationId.
    • Adjusted payloads and assertions to use traceparent instead.

This update aligns Dafda's message tracing with modern distributed tracing standards and simplifies the metadata model.

@toizo toizo added the v1 label Dec 30, 2025
@DFDS-Snyk
Copy link

DFDS-Snyk commented Dec 30, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants