Skip to content

docs: clarifications on publish and subscribe - #521

Merged
derberg merged 4 commits into
asyncapi:masterfrom
integrational:master
Apr 13, 2021
Merged

derberg merged 4 commits into
asyncapi:masterfrom
integrational:master

Conversation

@GeraldLoeffler

Copy link
Copy Markdown
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.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

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

@derberg derberg left a comment

Copy link
Copy Markdown
Member

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

Comment thread spec/asyncapi.md Resolved
Comment thread spec/asyncapi.md Resolved
Comment thread spec/asyncapi.md Resolved
Comment thread spec/asyncapi.md Resolved
Comment thread spec/asyncapi.md Resolved
@GeraldLoeffler

Copy link
Copy Markdown
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.

@sonarqubecloud

sonarqubecloud Bot commented Apr 9, 2021

Copy link
Copy Markdown

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

@derberg derberg left a comment

Copy link
Copy Markdown
Member

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 🤔

@fmvilas fmvilas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread spec/asyncapi.md
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.

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg

derberg commented May 24, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Member

@all-contributors please add @GeraldLoeffler for docs

@allcontributors

Copy link
Copy Markdown
Contributor

@magicmatatjahu

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

@derberg

derberg commented Jun 14, 2021

Copy link
Copy Markdown
Member

@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
Copy Markdown
Member

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

@derberg

derberg commented Jun 14, 2021

Copy link
Copy Markdown
Member

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

@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg

derberg commented Jun 15, 2021

Copy link
Copy Markdown
Member

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

@asyncapi-bot

Copy link
Copy Markdown
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