elastic / elastic/apm-agent-java

AsyncHttpClient loses context after StreamedAsyncHandler

Aperta
#1,255 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
agent-java
Lingua principale
Java
Stelle
594
Fork
338
Merge medio
1g 13h
PR unite (30g)
25

Descrizione

## Describe the bug
The trace is incorrectly propagated when using a StreamedAsyncHandler.

## Steps to reproduce
The test setup uses Scala and depends on the latest master branch of ElasticAPM

1. Checkout https://github.com/milanvdm/scala-elastic-apm/blob/check-edge-case
2. Start the docker-compose
3. Run the application: `sbt reStart` or `sbt run`
4. It will lose the context at: https://github.com/milanvdm/scala-elastic-apm/blob/check-edge-case/src/main/scala/me/milan/main/future/DummyHttpBackend.scala#L76

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.