losfair / losfair/blueboat

Retry `atLeastOnce` background tasks on timeout and exceptions.

Open
#48 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
1.9k
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Currently, an `atLeastOnce` background task will be retried if the Blueboat host process exits during execution, but will NOT be retried in the following circumstances:

- An exception is thrown.
- The **worker** process crashed.
- The 30-second limit is reached.

Supporting retry in these cases requires re-enqueueing the task to Kafka.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing atLeastOnce background-task execution and the Kafka re-enqueue path. Inspect how exceptions, worker crashes, and the 30-second timeout are handled; done means each of these cases re-enqueues the task for retry.

Written by the indexing model from the issue text.

Assessment

Tech stack
kafka, rust
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.