[BUG] UnsupportedOperationException when building nativeHeaders #24649
Labels
azure-spring
All azure-spring related issues
azure-spring-eventhubs
Spring event hubs related issues.
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Milestone
Describe the bug
The
UnsupportedOperationException
will be encountered whenazure-spring-cloud-stream-binder-eventhubs
andspring-cloud-starter-sleuth
are used together.The PR microsoft/spring-cloud-azure#743 and microsoft/spring-cloud-azure#744 were to fix the issue microsoft/spring-cloud-azure#592. At that time, the properties of the
EventData
could still be modified, this PR #22314 changed properties to an unmodifiableMap
, then a mistake was made without sufficient testing during version upgrade.Exception or Stack Trace
To Reproduce
curl -X POST http://localhost:8080/messages/imperative/staticalDestination?message=hello
Code Snippet
The text was updated successfully, but these errors were encountered: