Replies: 3 comments 5 replies
-
To answer your question briefly. For AsyncAPI.Net, we only support the binding types that have been added specifically to the project, which at this point, is not a lot. - Its on the todo to be feature complete with the asyncapi bindings repo, though. I want to do 2 things (The second based slightly off this issue, but it fits nicely into the bigger picture);
|
Beta Was this translation helpful? Give feedback.
-
Just for complete clarity, do you expect these to match up with what is documented in AsyncAPI bindings repo? Or could I just contribute sns/sqs bindings now before the specification for AsyncAPI is merged? (Similar for things like mirror topics that might never get an official binding but are sort of "semi-official")
Do you have a road map for this? My team is pretty keen in migrating and I have capacity to put work into this. So if you can point me in the right direction I could probably justify doing some of the work to facilitate this if there's currently a path open for it. |
Beta Was this translation helpful? Give feedback.
-
This has been fixed |
Beta Was this translation helpful? Give feedback.
-
As I understand it, the models that can be used in the
bindings
property of a channel/publish/subscribe are defined in the AsyncAPI Bindings repo (please correct me if this is not the process for adding binding models to this project). Furthermore, if a user has a spec that makes use of bindings that are not part of these officially defined bindings (and therefore not part of the models) then these bindings will not be parsed at all.There are three ways that this manifests:
sns
andsqs
bindings in anger in our specs, however the PR to finalise them as part of the AsyncAPI bindings spec has been open for almost two years after much discussion, I'm currently working to close it but its a long road for these sorts of widely used bindings and in the mean time being locked out of any use in a project like this is a big discouragement to migrateAt the moment the work around for this, I believe, would be the very confusing route of using
x-
extension objects outside of thebindings
object due to the fact that it seemsbindings
does not support extensions. This is confusing for users and does not match the spec in any reasonable way.My question then: Is there currently a better way to parse bindings that are not part of the official AsyncAPI binding definitions and by extension not included in the models that make up binding definitions in AsyncAPI.NET?
If not, is it appropriate to add this to the project in a similar way to how
x-
extension properties are handled in the rest of the spec?Beta Was this translation helpful? Give feedback.
All reactions