redpanda-data / redpanda-data/redpanda
Redpanda does not recogonize `*.yml` configurations
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.6k
- Forks
- 792
- PR merge metrics
- No merged PRs in 30d
Description
Version & Environment
Redpanda version: (use rpk version):
Version: v23.3.10
Git ref: 255020e51d
Build date: 2024-03-28T06:05:48Z
OS/Arch: darwin/arm64
Go version: go1.21.3
What went wrong?
As a developer I defined the redpanda configuration via a file named redpanda.yml and started the redpanda with the file at /etc/redpanda. Redpanda was not able to detect the configuration and loaded the defaults. With bit of debugging I found that redpanda is not able to recognise redpanda.yml
What should have happened instead?
Redpanda should recognise/load redpanda.yml or redpdana.yaml. A matter of fact same logic should be applied for all other YAML configurations as user might use .yml or .yaml
How to reproduce the issue?
- Create a
redpanda.ymland place it/etc/redpanda - Start redpanda
JIRA Link: CORE-1959
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
Reproduce the issue with a redpanda.yml file placed in /etc/redpanda, using the reported rpk version details as context. Confirm that configuration loading recognizes both .yml and .yaml names and no longer falls back to defaults; the payload does not identify a source file or test to start from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, yaml
- Domain
- backend, stream-processing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100