housepower / clickhouse_sinker

Easily load data from kafka to ClickHouse
https://housepower.github.io/clickhouse_sinker
Apache License 2.0
514 stars 118 forks source link

Read credentials from envs or command line #180

Closed sashayakovtseva closed 1 year ago

sashayakovtseva commented 1 year ago

Real-life example: you deploy sinker with k8s/nomad and don't want to store raw credentials in a config file. One option would be to feed entire config file to some secrets storage, another approach is to enrich public config file with credentials from envs in runtime.

In this PR:

Chores:

yuzhichang commented 1 year ago

Thank you!