An open API service indexing awesome lists of open source software.

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

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
```