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:
@@ -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 }}
|
||||
---
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user