Skip to content
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

Uniform example with different use-cases #646

Closed
jonaslagoni opened this issue Nov 9, 2021 · 2 comments · Fixed by #651
Closed

Uniform example with different use-cases #646

jonaslagoni opened this issue Nov 9, 2021 · 2 comments · Fixed by #651

Comments

@jonaslagoni
Copy link
Member

jonaslagoni commented Nov 9, 2021

As the discussions become more and more complex I think it would make sense to uniform an example "system" to use as a reference for changes and suggestions.

I will suggest we use the example @fmvilas included in the proposal for solving publish/subscribe confusion.

This example takes into consideration of the different perspectives and use-cases we see AsyncAPI being used in. This does of course not mean any changes to the spec need to provide changes to this example, however, if it makes sense, people only need to know about one specific example to understand the changes that are being suggested, which I think makes it easier to understand the issue and the solutions proposed.

The proposed example

Say we have a social network, a very basic one, where all you can do is upvoting comments.

The individual services that need to be defined are:

  • A frontend application where users interact through the website, where they can like comments.
  • A backend WebSocket server that sends and receives events for the UI to update in real-time.
  • A comment service which processes all events related to comments through a message broker.
  • A public-facing API which allows others to get notified about updates.

This ensures that we try to describe:

  • A public API
  • A WebSocket server and client
  • A broker setup

Suggestions

What do you think?

  • Do you see this as being useful to have?
  • Is there any changes to the system you would like to see?

Related resources

@asyncapi-bot
Copy link
Contributor

🎉 This issue has been resolved in version 2.3.0-2022-01-release.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@asyncapi-bot
Copy link
Contributor

🎉 This issue has been resolved in version 2.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants