For async api first, if both producer and consumer need to write down their channel part for asyncapi docs? and why? #538
Closed
max2liu
started this conversation in
Docs & Education
Replies: 1 comment 1 reply
-
@max2liu I need a bit of clarification on what you mean. I agree:
It really depends on your use case. You need to share more of your context. Depends what you want to use there are many different use cases, but just to give 2:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For async api first, if both producer and consumer need to write down their channel information part for asyncapi docs? and why?
What I want to realize is the working flow of async api first, one opinion is that our approach is Event-Driven Architecture, so for the producer, it doesn't care and doesn't need to know who consume the event, so for the consumer, they do not need to write the asyncapi.
Any comments for above opinion?
---Quote the fields I mentioned above under the asyncapi docs---
subscribe : A definition of the SUBSCRIBE operation, which defines the messages produced by the application and sent to the channel.
publish : A definition of the PUBLISH operation, which defines the messages consumed by the application from the channel.
Beta Was this translation helpful? Give feedback.
All reactions