https://github.com/hypertrace/kafka-topic-creator
Helm chart to create a Kafka topic via helm hook
https://github.com/hypertrace/kafka-topic-creator
Last synced: 6 months ago
JSON representation
Helm chart to create a Kafka topic via helm hook
- Host: GitHub
- URL: https://github.com/hypertrace/kafka-topic-creator
- Owner: hypertrace
- License: apache-2.0
- Created: 2020-07-01T21:22:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T19:11:28.000Z (over 1 year ago)
- Last Synced: 2024-10-18T23:38:52.187Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 204 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# kafka-topic-creator
Helm chart to create Kafka topic(s) via helm hook
## Usage
If any of the Kafka producer jobs wants to create Kafka topic(s) via a helm hook,
Add the following to `parentchart/Chart.yaml`
```$yaml
dependencies:
- name: kafka-topic-creator
repository: "https://hypertrace-helm-charts.storage.googleapis.com"
version: 0.1.0
```
And, pass the values in `parentchart/values.yaml` file.
```$yaml
kafka-topic-creator:
jobName: test-topic-creator
helmHook: pre-install,pre-upgrade
kafka:
topics:
- name: test-topic
replicationFactor: 2
partitions: 8
configs:
- retention.bytes=4294967296
- retention.ms=259200000
zookeeper:
address: zookeeper:2181
imagePullSecrets:
- name: regcred
```