You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using AsyncAPI for generating the eventcatalog pages, the consumer and producer statements are switched.
When the asyncAPI states that an application produces an event, the generator will place that event in the "consumes" list.
This is either wildly confusing, or a bug.
Steps to reproduce
Create an AsyncAPI document which states that an application produces an event. Or fetch the example in the plugin directory src/examples/kafka.yml
Run the generation as described in the readme
See that a service document has been made that states that Streetlights Kafka API consumes lightMeasured
Expected behavior
I would expect that:
Publishers of an event (as defined in asyncapi) would show up as producers of an event
Subsribers to an event would show up as Consumers
Actual behavior
Publishers of an event (as defined in asyncapi) show up as consumers of an event
Subsribers to an event show up as Producers
Your environment
Windows 10
Node v18
The text was updated successfully, but these errors were encountered:
After some more research, I've found that this is a longer running discussion.
Other templates have functionality to switch the viewpoint. (as mentioned by https://www.asyncapi.com/blog/publish-subscribe-semantics). Perhaps the PR should add this instead of switching the verbs
Have you read the Contributing Guidelines on issues?
Description
When using AsyncAPI for generating the eventcatalog pages, the consumer and producer statements are switched.
When the asyncAPI states that an application produces an event, the generator will place that event in the "consumes" list.
This is either wildly confusing, or a bug.
Steps to reproduce
src/examples/kafka.yml
lightMeasured
Expected behavior
I would expect that:
Publishers of an event (as defined in asyncapi) would show up as producers of an event
Subsribers to an event would show up as Consumers
Actual behavior
Publishers of an event (as defined in asyncapi) show up as consumers of an event
Subsribers to an event show up as Producers
Your environment
Windows 10
Node v18
The text was updated successfully, but these errors were encountered: