-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Introduce data format bindings #694
Comments
@jessemenning Thanks for that issue! Maybe we should extend this idea (#622) with adding extra fields to the Example: payload:
schemaFormat: ...xml
schema: ...xml data
schemaOptions:
rootObject: ...
... other options Note that this syntax can be used anywhere in the specification where we can define Schema Object, not just in the message's payload. Of course we can treat some options as default for every schemaFormat, like
The difference between protocol bindings and format bindings (schema formats) is that the first are described from the point of view of the app (how server/operation works underneath) and the second from the point of view of the tool, i.e. the custom parser for given format and I think someone might have a problem with that. What are your thoughts on this? |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Background
In contrast to Async communications utilize many different protocols, such as JMS, WebSockets, NATS, etc. But the payload format can be formatted in many different ways as well.
Issue
Similar to protocols, each of these payloads can include different options that are unique to the payload. For instance:
While each of these can be specified within the core spec itself, if AsyncAPI includes optional parameters for every potential payload, it will likely be a long list that will not be easily adaptable to the next popular data format.
Proposed Resolution
Similar to protocols, introduce the concept of a payload binding to hold these payload-specific configuration.
The text was updated successfully, but these errors were encountered: