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: add protocol concepts doc #1013

Merged
merged 23 commits into from
Dec 6, 2022
Merged

docs: add protocol concepts doc #1013

merged 23 commits into from
Dec 6, 2022

Conversation

nelsonmic
Copy link
Contributor

Description

  • This PR adds a new protocol concept spec

Related issue(s)

Fixes #980

@netlify
Copy link

netlify bot commented Oct 11, 2022

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e10f5ac
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/638d3c4b9b84cc0009f3f30a
😎 Deploy Preview https://deploy-preview-1013--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@quetzalliwrites
Copy link
Member

hey @nelsonmic, we're close to the end of GSoD 😄... how is this doc going? When do you think we may see the first draft? ✨✨🙌🏽

@nelsonmic
Copy link
Contributor Author

hey @nelsonmic, we're close to the end of GSoD 😄... how is this doc going? When do you think we may see the first draft? ✨✨🙌🏽

GSOD is not going to stop me from contributing 😄😊. I'll have this in by Monday.

@nelsonmic
Copy link
Contributor Author

Hello @derberg, I'm having a problem with the diagram for this concept doc, please can you help.

First, confirm that the doc is technically correct, if it is then in my diagram I want to label the arrow pointing from producer to broker to consumer as protocol.

Here's what i have currently:

flowchart LR
    a[Producer]-- Message 1 --->c[(Broker)]
    c-- Message 1 ---> b[Consumer]
Loading

@nelsonmic nelsonmic marked this pull request as ready for review October 30, 2022 17:02
@github-actions
Copy link

github-actions bot commented Oct 30, 2022

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 58
🟠 Accessibility 88
🟠 Best practices 83
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1013--asyncapi-website.netlify.app/

@quetzalliwrites quetzalliwrites added 📑 docs area/docs Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. gsod This label should be used for issues or discussions related to ideas for Google Season of Docs labels Oct 31, 2022
@nelsonmic
Copy link
Contributor Author

Hello @alequetzalli, good day! I just fixed the issue, please can you have a look at it.

@quetzalliwrites
Copy link
Member

I think this looks good, but we should def see if @derberg agrees it's ready to merge :)

@quetzalliwrites
Copy link
Member

quetzalliwrites commented Nov 7, 2022

hey @nelsonmic, please add to your PR:

  1. The actual diagram syntax markdown, even if you think it has mistakes. I know you put it in some comment, but now it's lost and cannot be easily found to review. In addition, Lukasz will be able to easily add a commit suggestion to you if you actually have that diagram as part of your PR, making it easier to fix any issues the diagram has.
  2. Prev/Next buttons (I'm putting my application doc before yours)

@nelsonmic
Copy link
Contributor Author

hey @nelsonmic, please add to your PR:

  1. The actual diagram syntax markdown, even if you think it has mistakes. I know you put it in some comment, but now it's lost and cannot be easily found to review. In addition, Lukasz will be able to easily add a commit suggestion to you if you actually have that diagram as part of your PR, making it easier to fix any issues the diagram has.
  2. Prev/Next buttons (I'm putting my application doc before yours)

Hey hey 😌, thank you for the feedback. I'll get right to it.

@quetzalliwrites
Copy link
Member

Heyo @nelsonmic, looks like you got some conflicts to solve. 😄✌🏽

Screen Shot 2022-11-08 at 2 51 44 PM

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.

yo, left some suggestions

pages/docs/concepts/protocol.md Outdated Show resolved Hide resolved
pages/docs/concepts/protocol.md Show resolved Hide resolved


## What is a protocol?
A protocol is a mechanism that handles the exchange of messages. It provides a way of getting messages from one point in an event-driven architecture to another. A protocol could either be wired or API.
Copy link
Member

Choose a reason for hiding this comment

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

  • protocols are not only in context of the event driven architectures
  • what do you mean protocol could be an API?
  • I'm not sure mechanism is the correct word. A protocol is nothing else than a set of rules that are used to specify how information should be exchanged between applications and/or servers

@quetzalliwrites
Copy link
Member

Hey @nelsonmic! 😄 How's this PR going? do you understand all the feedback @derberg left you?

Let's take care of this doc before we create a NEW doc for bindings.

@nelsonmic
Copy link
Contributor Author

Hey @derberg please can you review the diagram and definition again, thank you!

@nelsonmic
Copy link
Contributor Author

Hey @nelsonmic! 😄 How's this PR going? do you understand all the feedback @derberg left you?

Let's take care of this doc before we create a NEW doc for bindings.

Hi @alequetzalli, I just pushed a commit to address @derberg suggestions, I'm waiting on his feedback

pages/docs/concepts/protocol.md Outdated Show resolved Hide resolved
pages/docs/concepts/protocol.md Outdated Show resolved Hide resolved
pages/docs/concepts/protocol.md Outdated Show resolved Hide resolved
@nelsonmic
Copy link
Contributor Author

Hey @alequetzalli, I have fixed everything that @derberg suggested. This PR is ready for an editorial review from you, thanks.

@derberg
Copy link
Member

derberg commented Dec 1, 2022

I confirm that technically all accurate 👍🏼
@alequetzalli only your review is needed

@derberg
Copy link
Member

derberg commented Dec 2, 2022

Side comment. I think Open ai just released one of the best tools that can be used as technical input for docs.

example answer to question "what is protocol"

A protocol is a set of rules and guidelines that define the communication and interactions between different devices or systems. Protocols ensure that the devices or systems can communicate and exchange information in a consistent and efficient manner. Examples of protocols include the HTTP protocol for web communication, the TCP/IP protocol for internet communication, and the protocols used in wireless networks.

🤯 https://chat.openai.com

Copy link
Member

@quetzalliwrites quetzalliwrites left a comment

Choose a reason for hiding this comment

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

Yay! 😁 congratulations @nelsonmic, great work!

@derberg can you please merge this AND the application PR together now? #992

@quetzalliwrites
Copy link
Member

@derberg you forgot to approve this PR 😜 merging will be blocked until you do it since you requested changes before

@nelsonmic
Copy link
Contributor Author

Yay! 😁 congratulations @nelsonmic, great work!

@derberg can you please merge this AND the application PR together now? #992

Thank you, thank you, thank you 😁. Bindings concept next

@derberg
Copy link
Member

derberg commented Dec 5, 2022

@alequetzalli oh, I thought it is still pending editorial review, this is why I did not accept as I was sure there will be some additional commits that will dismiss my review.

@quetzalliwrites
Copy link
Member

@derberg Yo you forgot to merge both PRs 😛

@derberg
Copy link
Member

derberg commented Dec 6, 2022

/rtm

@asyncapi-bot asyncapi-bot merged commit 02a1a6d into asyncapi:master Dec 6, 2022
@nelsonmic nelsonmic deleted the protocol branch December 8, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. 📑 docs gsod This label should be used for issues or discussions related to ideas for Google Season of Docs ready-to-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[📑 Docs]: new protocol concept doc
4 participants