aws / aws/aws-xray-sdk-java

Remove support for non-streaming subsegments

Open
#280 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
100
Forks
100
PR merge metrics
No merged PRs in 30d

Description

There is currently a huge amount of complexity and some performance overhead due to the ability to optionally stream or not stream subsegments - it continues to cause thread safety issues and is very fragile code. Simpler would be to just have `Entity.end()` immediately send an entity without keeping track of the whole segment.

As the OpenTelemetry integrations with X-Ray do not do the segment batching, I think we can consider that a baseline and remove our support for non-streaming from here too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.