redpanda-data / redpanda-data/redpanda

Redpanda does not recogonize `*.yml` configurations

Open
#17,516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core
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?
  1. Create a redpanda.yml and place it /etc/redpanda
  2. Start redpanda

JIRA Link: CORE-1959

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.