redpanda-data / redpanda-data/benthos
file cache should be able to create directories
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 571
- Forks
- 120
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 18
Description
if you put a / in your cache key today file cache errors ERRO failed to write result to cache: %!s(<nil>) @service=redpanda-connect label="" path=root.pipeline.processors.0.branch.processors.0. It would be helpful if it did not error because then file could mimic object stores like s3 for local development.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the file cache implementation and the path used when writing a cache key containing '/'. Trace how the key becomes a filesystem path and add or run relevant tests; done means nested directories are created as needed and the write no longer errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100