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

docs: clarifications on publish and subscribe #521

Merged
merged 4 commits into from
Apr 13, 2021

Conversation

GeraldLoeffler
Copy link
Contributor

While keeping the meaning of the AsyncAPI spec entirely unchanged, i've added clarifying statements on the meaning of the publish and subscribe operations.

Description

  • ...
  • ...
  • ...

Related issue(s)

While keeping the meaning of the AsyncAPI spec entirely unchanged, i've added clarifying statements on the meaning of the `publish` and `subscribe` operations.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.

Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@GeraldLoeffler GeraldLoeffler changed the title clarifications on publish and subscribe docs: clarifications on publish and subscribe Mar 19, 2021
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry for late review, please have a look at my comments

spec/asyncapi.md Outdated Show resolved Hide resolved
spec/asyncapi.md Outdated Show resolved Hide resolved
spec/asyncapi.md Outdated Show resolved Hide resolved
spec/asyncapi.md Outdated Show resolved Hide resolved
spec/asyncapi.md Outdated Show resolved Hide resolved
@GeraldLoeffler
Copy link
Contributor Author

Thanks for the feedback @derberg : i've incorporated it, but left the 2 sentences
A definition of the SUBSCRIBE operation, which defines the messages sent by the application to the channel. and A definition of the PUBLISH operation, which defines the messages received by the application from the channel. because the other "definition" is for the example of the chat application and therefore not binding.

@sonarcloud
Copy link

sonarcloud bot commented Apr 9, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
@fmvilas wanna have a look?
I was thinking if this could also be updated on the website 🤔

Copy link
Member

@fmvilas fmvilas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Describes a publish or a subscribe operation. This provides a place to document how and why messages are sent and received. For example, an operation might describe a chat application use case where a user sends a text message to a group.
Describes a publish or a subscribe operation. This provides a place to document how and why messages are sent and received.

For example, an operation might describe a chat application use case where a user sends a text message to a group. A publish operation describes messages that are received by the chat application, whereas a subscribe operation describes messages that are sent by the chat application.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello. New here but willing to collaborate.
While reading this, I think "chat application" is quite ambiguous of who's sending and receiving. Following to the Event Driven Architectures docs, it might be clearer to state "publish operation describes messages that are received by the chat application's message broker" and "subscribe operation describes messages that are sent by the chat application's message broker", or around those lines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @ alexleonescalera, i agree that chat is not the best example, but this is the example currently used in the spec in this location. I wanted to provide a focused point change to the spec that just provides more clarity on the intent of the publish and subscribe operations - without making any other changes, such as changing the example used here.

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg
Copy link
Member

derberg commented May 24, 2021

It is actually not included in the release. This was an unintentional release caused by the release automation initial run. 1.0 version of the spec was released a long time ago. The release mentioned by the bot was removed.

@derberg derberg removed the released label May 24, 2021
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0-2021-06-release.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@magicmatatjahu
Copy link
Member

@all-contributors please add @GeraldLoeffler for docs

@allcontributors
Copy link
Contributor

@magicmatatjahu

I've put up a pull request to add @GeraldLoeffler! 🎉

@derberg
Copy link
Member

derberg commented Jun 14, 2021

@GeraldLoeffler you contributed more than just docs. You are a very active member of the community and you push hard many topics around the spec, which is 🚀

@magicmatatjahu I'll work on a follow-up PR for a more complex update to allcontributors to include more areas for @GeraldLoeffler and also add other important folks like for example @dalelane

@magicmatatjahu
Copy link
Member

I only added Gerald to area docs regarding to this PR. Sorry!

@derberg
Copy link
Member

derberg commented Jun 14, 2021

@magicmatatjahu no worries, you reacted fast which is super cool!

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg
Copy link
Member

derberg commented Jun 15, 2021

Not included in release 2.1 yet, 2.1 was mistakenly triggered by our automation.

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.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 this pull request may close these issues.

6 participants