question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Context propagation for eventhub between Java and .NET is broken

See original GitHub issue

Describe 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)

  1. create java producer
  2. create .net consumer (processor)
  3. 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:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jsquirecommented, Jul 21, 2021

@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.

0reactions
lmolkovacommented, Jul 24, 2021

fixed on java, thanks @jsquire

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found