[BUG] Context propagation for eventhub between Java and .NET is broken
See original GitHub issueDescribe the bug
Spans for events sent from java app are not correlated with Spans for events on .NET processor.
Java sends diagnostic-id
and .NET expects Diagnostic-Id
, we should make it case-insensitive or support both spellings.
Expected behavior Spans are correlated
Actual behavior (include Exception or Stack Trace) Spans are not correlated
To Reproduce Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
- create java producer
- create .net consumer (processor)
- add opentelemetry/appinsights
Environment:
- Name and version of the Library package used: Azure.Messaging.EventHubs.Processor 5.5.0, Azure.Core 1.16.0
- Hosting platform or OS and .NET runtime version, N/A
- IDE and version : N/A
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Getting AMQP errors (broken pipe, framing-error) while ...
I am getting AMQP errors (broken pipe, framing-error) while listening to event hub. I am using the following library ...
Read more >Java EventHubTrigger not working - Microsoft Q&A
I am facing a situation with Java EventHub Trigger. ... After deploying this function app I send a batch of messages to the...
Read more >Azure SDK for Java (August 2021)
Fixed a bug with context propagation through EventHub and ServiceBus between Java and other languages. Fixed a bug where classes annotated with @JsonFlatten ......
Read more >Troubleshoot connectivity issues - Azure Event Hubs
There are various reasons for client applications not able to connect to an event hub. The connectivity issues that you experience may be ......
Read more >azure-sdk-for-java eventhubs Partition has been lost
Yes, the EventProcessorClient in azure-messaging-eventhubs library will reconnect on such partitions. You don't need to change anything manually ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lmolkova: Not sure if it’s helpful, but I can adjust on the Event Hubs side if we think that’s the best path forward. That said, it looks to be the same capitalization in Service Bus as well.
fixed on java, thanks @jsquire