vmware-archive / kafka-trigger

Kubernetes CRD controller for Kafka topic as event source for Kubeless functions
Apache License 2.0
28 stars 34 forks source link

Add kafka topic to the kubeless func request headers #29

Closed jon-whit closed 4 years ago

jon-whit commented 4 years ago

Issue Ref: #21

Description: Adds support to include the kafka topic that triggered a function into the headers of the outbound request to the kubeless function.

jon-whit commented 4 years ago

@andresmgot how would you prefer this solution be implemented to be standard? I'd be happy to submit a new merge request with the changes for the standardized approach.

andresmgot commented 4 years ago

This should be fine unless I missed something. Maybe we need to use one of the headers already available and include the topic there.