-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for OpenTelemetry Context Propagation (#1454)
1. Fixes an issue that caused context propagation to fail on message retry (#1452) Before, BeforeSubscribeInvoke removed the context so it was no longer available on retry. It also removes the _contexts dictionary, as during Subscribe this handling didn't work during retry and during Publish, the dictionary value was no longer used. I have tested this with both aspnetcore services and console subscriber that publishes during the subscribe and context propagation was working fine. Thus #1100 is also closed, probably already in #1407. Co-authored-by: Benjamin Schwehn <[email protected]>
- Loading branch information
Showing
2 changed files
with
62 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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