-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support UNSPECIFIED payload format in CloudEvents mapping #248
base: main
Are you sure you want to change the base?
Support UNSPECIFIED payload format in CloudEvents mapping #248
Conversation
This is a follow up of eclipse-uprotocol#247
1a22289
to
42ecc7c
Compare
@stevenhartley would you mind taking a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot get rid of datacontenttype. If we want to add a new one called pformat that we could but datacontenttype is defined in CE specs and it is needed for backwards compatibility with older versions of the protocol
What older version of which protocol are you referring to? An old version of uProtocol? If so, what exactly are the expectations regarding the use of CloudEvents itself does not actually define |
Older versions of the protocol would reject anything that was not Cloudevent specifications does define the attribute as optional here. Having said that, I am simply asking that we do not remove the attribute definition and in fact leave the "if it is missing it is assumed to be If we want to add a new attribute that sends an int in lie of a string, that is ok, but don't change the behavior of |
It was actually you who added the If we want to stick with
WDYT? |
I think we leave it as is meaning we keep |
This is a follow up of
#247