Add blocking behavior for full processor queues - #5181
Conversation
Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
pellared
left a comment
There was a problem hiding this comment.
The PR does not fulfill the contributing requirements: https://github.com/open-telemetry/opentelemetry-specification/blob/main/CONTRIBUTING.md#smaller-changes
@pellared should I wait until other high-value features are merged into it, then proceed? |
@cijothomas @pellared thanks for the feedback. I'll wait for this issue to be moved till then I'll mark it as draft. |
|
Moreover,
Also this is a new configuration so it has to be marked as |
|
@pellared, once it's accepted for triage, I'll ensure the missing components are adhered to. |
Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
|
This PR was marked stale. It will be closed in 14 days without additional activity. |
Pull request dashboard statusWaiting on the author · refreshed 2026-08-20 15:49 UTC Move out of draft to request review. Status above doesn't look right?
|
Fixes #5178
Changes
Adds configurable queue-full behavior for batch span and batch log record processors.
This introduces:
onQueueFullwithDROPandBLOCKbehavior.blockOnQueueFullTimeoutMillisfor bounded blocking whenBLOCKis selected.OTEL_BSP_ON_QUEUE_FULLOTEL_BSP_BLOCK_ON_QUEUE_FULL_TIMEOUTOTEL_BLRP_ON_QUEUE_FULLOTEL_BLRP_BLOCK_ON_QUEUE_FULL_TIMEOUTThe default behavior remains
DROP, preserving existing behavior unless users opt into blocking.CHANGELOG.mdfile updated for non-trivial changes