Skip to content
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

file cache should be able to create directories #104

Open
trashhalo opened this issue Oct 12, 2024 · 1 comment
Open

file cache should be able to create directories #104

trashhalo opened this issue Oct 12, 2024 · 1 comment
Labels
bug Something isn't working needs investigation It looks as though have all the information needed but investigation is required

Comments

@trashhalo
Copy link

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.

@trashhalo
Copy link
Author

trashhalo commented Oct 12, 2024

I also tried:

cache_resources:
  - label: file_cache
    file:
      directory: /cache/${! meta("X-Tenant-Id") }

but that had the same error.

@mihaitodor mihaitodor added bug Something isn't working needs investigation It looks as though have all the information needed but investigation is required labels Oct 13, 2024
@mihaitodor mihaitodor transferred this issue from redpanda-data/connect Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation It looks as though have all the information needed but investigation is required
Projects
None yet
Development

No branches or pull requests

2 participants