Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions helm/openwhisk/templates/kafka-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ spec:
value: "EXTERNAL://_{HOSTNAME_COMMAND}:{{ .Values.kafka.port }}"
- name: "KAFKA_INTER_BROKER_LISTENER_NAME"
value: "EXTERNAL"
{{- if .Values.kafka.quota.producer }}
- name: "KAFKA_QUOTA_PRODUCER"
value: "{{.Values.kafka.quota.producer}}"
{{- end}}
{{- if .Values.kafka.quota.consumer }}
- name: "KAFKA_QUOTA_CONSUMER"
value: "{{.Values.kafka.quota.consumer}}"
{{- end}}

# zookeeper info
- name: "KAFKA_ZOOKEEPER_CONNECT"
Expand Down
3 changes: 3 additions & 0 deletions helm/openwhisk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ whisk:
# Kafka configuration. For all sub-fields a value of "" means use the default from application.conf
kafka:
replicationFactor: ""
quota:
consumer: ""
producer: ""
topics:
cacheInvalidation:
segmentBytes: ""
Expand Down