redpanda-data / redpanda-data/benthos

Support waiting on cache entries

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

Nobody has claimed this yet.

enhancement needs investigation
Dominant language
Go
Stars
571
Forks
120
Avg merge
2d 1h
Merged PRs (30d)
18

Description

Currently waiting for cache entries is quite a bit of config:

- while:
    at_least_once: true
    check: errored()
    processors:
    - cache:
        resource: mem
        operator: get
        key: my_key

all this could be replaced by more straight-forward:

- cache:
    resource: mem
    operator: wait
    key: my_key

Contributor guide

Open the contributing guide

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

No files or tests are named. Start by tracing the cache processor from the YAML examples, especially the existing operator: get path; done means the operator: wait form can replace the shown while/errored configuration for the same cache key.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.