Skip to content

feat: add OTEL tracing integration spec for Akka.Streams Kafka - #527

Open
Aaronontheweb wants to merge 1 commit into
akkadotnet:devfrom
Aaronontheweb:feat/bump-to-akka-1.5.68-dev
Open

feat: add OTEL tracing integration spec for Akka.Streams Kafka#527
Aaronontheweb wants to merge 1 commit into
akkadotnet:devfrom
Aaronontheweb:feat/bump-to-akka-1.5.68-dev

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Member

Changes

  • Add OTELTracingIntegrationSpec.cs to validate Kafka streams work with Akka.Streams ActivitySource listeners
  • Tests PlainSource and CommittableSource with tracing enabled to prove no NRE in ReportStageError
  • Includes control test verifying zero spans when no listener is registered

Purpose

Reproduces the original bug where Kafka streams with traceAkkaStreams: true (Phobos instrumentation) threw NREs in GraphInterpreter.ReportStageError. This test suite exercises the OTEL wrapper code path to prevent regression.

- Add OTELTracingIntegrationSpec.cs to validate Kafka streams work with Akka.Streams ActivitySource listeners
- Tests PlainSource and CommittableSource with tracing enabled to prove no NRE in ReportStageError
- Includes control test verifying zero spans when no listener is registered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant