Closed
Description
CloudEvents a CNCF standard for event payloads just reached 1.0. It'd be great to have out-of-the-box support with Spring Cloud Functions. So we could do:
Function<CloudEvent, CloudEvent> foo()
There is an existing API for the payload, marshaling, unmarshalling, but it doesn't yet support version 1.0 of the spec
<dependency>
<groupId>io.cloudevents</groupId>
<artifactId>cloudevents-api</artifactId>
<version>0.3.1</version>
</dependency>
Adding this will make integration with Knative Events easier.