Add support for Kafka record headers (#1025)

Added support for Kafka headers to be passed and retrieved from functions. The headers and supported and work only for Kafka version 0.11.0.0 and higher.
This commit is contained in:
Bhavin Gandhi
2019-01-12 21:16:13 +05:30
committed by Vishal
parent ad4c4cd014
commit 37f37c0b8b
7 changed files with 114 additions and 25 deletions
@@ -578,6 +578,8 @@ spec:
value: kafka
- name: MESSAGE_QUEUE_URL
value: "{{.Values.kafka.brokers}}"
- name: MESSAGE_QUEUE_KAFKA_VERSION
value: "{{.Values.kafka.version}}"
serviceAccount: fission-svc
{{- end }}
---
+4
View File
@@ -73,6 +73,10 @@ azureStorageQueue:
kafka:
enabled: false
brokers: 'broker.kafka:9092'
## version of Kafka broker
## Must be a string in the format "major.minor.veryMinor.patch"
## Should be >= 0.11.0.0 to enable Kafka record headers support
# version: "0.11.0.0"
## Persist data to a persistent volume.
persistence: