xwm1992 commented on issue #274: URL: https://github.com/apache/incubator-eventmesh/issues/274#issuecomment-848570233
> > > @qqeasonchen I am not familiar with CloudEvents, this work is to covert events to CloudEvents format? > > > > > > CloudEvents is a standard events protocal, it's sdk supports converting messages to CloudEvents for transmission.You can get familiar with it refer to https://github.com/cloudevents/spec > > Thanks, currently, EventMesh transport event by `Package`, do you mean that we need to use the CloudEvents to deliver event? > > https://github.com/cloudevents/sdk-java/blob/687e03bac5569bcfae54f24c0da64291d2a77cac/core/src/main/java/io/cloudevents/core/v1/CloudEventV1.java @ruanwenjun Well,I'm agree delivering the events via CloudEvents. As for **sdk** side , you can depend on **CloudEvents http basic api** to send events and get response; for **eventmesh server** side, you may implements an custom deserializable interface converting **CloudEvents** to **OpenMessage**. You need to pay attention that not only use CloudEvents to send messages , but also for other tasks(such as subscribe/heartbeat/unsubscribe/e.g.) The above is just my understanding , you can also ask other people for advice, thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
