redpanda-data / benthos

MIT License
214 stars 61 forks source link

Support waiting on cache entries #72

Open AndreasBergmeier6176 opened 3 months ago

AndreasBergmeier6176 commented 3 months ago

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