Skip to content

[otap-dataflow] Failover Control Processor #510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lquerel opened this issue May 30, 2025 · 0 comments
Open

[otap-dataflow] Failover Control Processor #510

lquerel opened this issue May 30, 2025 · 0 comments
Labels
enhancement New feature or request pipeline Rust Pipeline Related Tasks rust Pull requests that update Rust code

Comments

@lquerel
Copy link
Contributor

lquerel commented May 30, 2025

The Failover Control Processor is designed to generalize the failover mechanism within the pipeline system. It monitors upstream processors for repeated processing failures (indicated by Nack messages after exhausting retry attempts) and then redirects the affected messages to a secondary pipeline branch, known as the fallback branch, to ensure continued message processing.

Purpose

Currently, each processor or exporter needing failover functionality must individually implement failover logic. The Failover Control Processor centralizes and generalizes this logic, simplifying configuration, reducing redundancy, and ensuring consistent failover behavior across the pipeline.

Behavior

  • The Retry Processor emits a Nack control message after exhausting a configurable number of retry attempts.
  • The Failover Control Processor captures these Nack messages.
  • Upon receiving a Nack, the Failover Processor redirects the failed message(s) to the configured fallback pipeline branch for alternate processing.
@lquerel lquerel changed the title [otap-pipeline] Failover Processor [otap-pipeline] Failover Control Processor May 30, 2025
@lquerel lquerel added enhancement New feature or request pipeline Rust Pipeline Related Tasks rust Pull requests that update Rust code labels May 30, 2025
@lquerel lquerel changed the title [otap-pipeline] Failover Control Processor [otap-dataflow] Failover Control Processor May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pipeline Rust Pipeline Related Tasks rust Pull requests that update Rust code
Projects
Status: No status
Development

No branches or pull requests

1 participant