Skip to content

Commit

Permalink
[#4035] Customize number of partitions (#4036)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljupcovangelski authored Mar 22, 2023
1 parent e6b70d0 commit 99af61f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ spec:
envFrom:
- configMapRef:
name: kafka-config
{{ if .Values.provisioning.kafka.namespaceTopics }}
env:
- name: PARTITIONS
value: "{{ .Values.provisioning.kafka.partitions }}"
{{ if .Values.provisioning.kafka.namespaceTopics }}
- name: AIRY_CORE_NAMESPACE
value: {{ .Release.Namespace }}
{{ end }}
Expand Down
1 change: 1 addition & 0 deletions infrastructure/helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ provisioning:
image: ghcr.io/airyhq/infrastructure/kafka
imageTag: 3.2.0
namespaceTopics: false
partitions: 10
tools:
segment:
enabled: true
Expand Down

0 comments on commit 99af61f

Please sign in to comment.