Skip to content

Commit

Permalink
hello world tutorial for AsyncApi v3
Browse files Browse the repository at this point in the history
  • Loading branch information
alaminthetrustworthy committed Aug 2, 2023
1 parent a7fb363 commit 130311a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/docs/tutorials/getting-started/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ operations:
</CodeBlock>

You can read the highlighted lines as:
> This is the `payload` of the `message` that the `Hello world application` is subscribed to. You can pass the value of `address` to the `messages` to the `hello` channel and the `Hello world application` will receive it through `operations` object.
> The `channels` section of a configuration file defines the different channels that are available in a system. Each channel has a unique name, and it can have one or more messages. The messages in a channel define the types of messages that can be sent and received on that channel.
In this case, the hello channel has a single message called `sayHelloMessage`. This message has a string payload that must match the pattern `^hello .+$`. This means that the `sayHelloMessage` can be used to send messages that start with the word "hello" followed by any number of other characters.
<CodeBlock highlightedLines={[10,11,12]}>
{`asyncapi: 3.0.0
info:
Expand Down

0 comments on commit 130311a

Please sign in to comment.