Skip to content

Add durable emitter backpressure configuration - #24255

Draft
tarcisiozf wants to merge 1 commit into
developfrom
durable-emitter-backpressure
Draft

tarcisiozf wants to merge 1 commit into
developfrom
durable-emitter-backpressure

Conversation

@tarcisiozf

Copy link
Copy Markdown
Contributor

This pull request introduces several new configuration options to the Durable Emitter, primarily focused on enabling and tuning backpressure mechanisms to prevent database overload and improve event handling reliability. The changes span configuration files, documentation, and implementation code to fully support these new options.

Key changes include:

Durable Emitter Backpressure Features

  • New configuration options for backpressure:
    Added DurableEmitterBackpressureEnabled, DurableEmitterMaxQueueDepth, DurableEmitterBacklogPollInterval, and DurableEmitterDeleteFailureRetransmitBackoff to the TOML config, documentation, and effective config files, allowing fine-grained control over how the Durable Emitter handles event backlog and failure scenarios.

  • Configuration interface and struct updates:
    Extended the Telemetry interface and its implementations to include the new backpressure-related methods, ensuring these settings are accessible throughout the codebase.

Application and Plugin Wiring

  • Wiring new options into application and plugin setup:
    Updated the application and plugin initialization logic to pass the new backpressure configuration values to the Durable Emitter and LOOP plugins, enabling these features at runtime.

These changes collectively provide operators with new controls to prevent unbounded database growth under heavy load and improve system robustness when event deletion fails.

@github-actions

Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@tarcisiozf
tarcisiozf force-pushed the durable-emitter-backpressure branch from 2a48140 to 28ed5f0 Compare November 23, 2026 13:38

This branch has not been deployed

No deployments
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