Skip to content

[usability] Template/demo CloudEvents functions replies with non CloudEvents #190

@slinkydeveloper

Description

@slinkydeveloper

Does the issue result in incorrect behavior?
Both in node and quarkus event function templates, the response is a non cloudevent. This behaviour is not "eventing-friendly" and we should discourage it. The reply to a trigger invocation can be only a cloudevent, otherwise the response is discarded (which is what happens in that case https://github.com/knative/eventing/blob/master/pkg/mtbroker/filter/filter_handler.go#L281)

Suggest an alternative
All CE templates should reply with cloudevents or nothing

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions