drainer: Support reading downstream password from file
Open
Nobody has claimed this yet.
feature-request
status/help-wanted
- Dominant language
- Go
- Stars
- 291
- Forks
- 131
- Avg merge
- 5m
- Merged PRs (30d)
- 2
Description
Feature Request
The drainer that writes to downstream MySQL/MariaDB/TiDB currently reads the password from a config file or from the MYSQL_PSWD environment variable.
The drainer should also be able to read the downstream password from a file.
This feature will support reading he password from a kubernetes secret.
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
Locate the drainer's downstream password handling and the MYSQL_PSWD path, then inspect how config-file and environment passwords are read. Done means the drainer can read a password from a file for MySQL, MariaDB, or TiDB downstreams, with the behavior covered by relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, mariadb, mysql
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100