-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider to support CloudEvents: HeaderMappers, Transformers, MessageConverters etc. #3103
Comments
Also see relevant JIRA for complete story: https://jira.spring.io/browse/INT-948 |
I see a few open questions here:
|
I think we need to support both variants:
On the producer side we indeed can support CE as a I'm not familiar with spec versions, but let's implement first of all what is supported by Java SDK! Thank you for feedback, @dturanski ! |
|
Oh! I see what you mean. So, if it is something new for us, we should rely on the latest version! |
Re https://jira.spring.io/browse/INT-948. I'm not sure if CE really helps because the real payload is a member of CE |
Fixes spring-projects#3103 * Add an `io.cloudevents:cloudevents-api` optional dependency * Introduce a `HeaderMapper` and `Marshallers` in the `support.cloudevents` to marshal `CloudEvent` instances * Introduce a `ToCloudEventTransformer` to build a `CloudEvent` instance from a `Message` and optional marshaling logic if necessary. Such a transformer could be used as a general purpose CE protocol binder before sending a result message into the target protocol channel adapter
Fixes spring-projects#3103 * Add an `io.cloudevents:cloudevents-api` optional dependency * Introduce a `HeaderMapper` and `Marshallers` in the `support.cloudevents` to marshal `CloudEvent` instances * Introduce a `ToCloudEventTransformer` to build a `CloudEvent` instance from a `Message` and optional marshaling logic if necessary. Such a transformer could be used as a general purpose CE protocol binder before sending a result message into the target protocol channel adapter
See more info about Java SDK: https://github.com/cloudevents/sdk-java
The text was updated successfully, but these errors were encountered: