Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the ingestion of physical messages containing multiple logical messages #7129

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

lailabougria
Copy link
Contributor

@lailabougria lailabougria commented Jul 31, 2024

related to Particular/ServiceControl#4333

Previous versions of NServiceBus supported sending multiple logical messages per physical message. This resulted in an issue when collecting metric tags, which is resolved in this PR.

This issue also surfaced in ServiceControl when using the NServiceBus.Metrics.ServiceControl package as it batches multiple logical messages in the same physical message.

saratry and others added 2 commits July 30, 2024 15:52
… yet in the collection for dealing with the use case of a payload containing multiple logical messages.
@lailabougria lailabougria added this to the 9.1.1 milestone Jul 31, 2024
@lailabougria lailabougria changed the title Fix issue which occurs when ingesting metric messages containing multiple logical messages per physical message Fixes the ingestion of physical messages containing multiple logical messages Jul 31, 2024
@mauroservienti mauroservienti merged commit b3b38d5 into master Jul 31, 2024
3 checks passed
@mauroservienti mauroservienti deleted the hotfix/duplicate-metrics-tags branch July 31, 2024 14:11
mauroservienti added a commit that referenced this pull request Jul 31, 2024
…messages (#7129)

* The IncomingPipelineMetricTags add a new tag only when the key is not yet in the collection for dealing with the use case of a payload containing multiple logical messages.

* Remove acceptance test for now

* Add failing test

---------

Co-authored-by: sara pellegrini <[email protected]>
Co-authored-by: Mauro Servienti <[email protected]>
@mauroservienti mauroservienti removed this from the 9.1.1 milestone Jul 31, 2024
mauroservienti added a commit that referenced this pull request Jul 31, 2024
…messages (#7129) (#7130)

* The IncomingPipelineMetricTags add a new tag only when the key is not yet in the collection for dealing with the use case of a payload containing multiple logical messages.

* Remove acceptance test for now

* Add failing test

---------

Co-authored-by: Laila Bougria <[email protected]>
Co-authored-by: sara pellegrini <[email protected]>
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.

5 participants