From d72cddbc99577cfed16c28f71ca68997d41ab3e6 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Mon, 12 Sep 2022 22:20:06 +0200 Subject: [PATCH 01/22] Create message.md --- pages/docs/concepts/message.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pages/docs/concepts/message.md diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md new file mode 100644 index 000000000000..5069c2ccfcc9 --- /dev/null +++ b/pages/docs/concepts/message.md @@ -0,0 +1,22 @@ +--- +title: Message +weight: 2 +--- + +## What is a message? +A message is a technique used to transmit or exchange information from servers and application through channels. Each message contains a payload that contains the data sent to the server when making an API call. + +## What is the purpose of message? + + + + +``` mermaid +graph LR + A[(Server)] --> b[message] + b --> D([channel1]) + b --> E([channel2]) + D --> F[application A] + E --> G[application B] + +``` From e63d19a4dfda586637163d10a76bd8eb272d3a4e Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 09:42:12 +0200 Subject: [PATCH 02/22] Update message.md --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 5069c2ccfcc9..6abcf42f837d 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 2 --- ## What is a message? -A message is a technique used to transmit or exchange information from servers and application through channels. Each message contains a payload that contains the data sent to the server when making an API call. +A message is a method of communication used to transmit or exchange information from either a server (sender) to an application (receiver) through the use of channels. ## What is the purpose of message? From 210b7c36adf1bda86ed0e367561665c6d0ece734 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 09:48:57 +0200 Subject: [PATCH 03/22] Update message.md --- pages/docs/concepts/message.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 6abcf42f837d..eb2bcdaa56a7 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 2 --- ## What is a message? -A message is a method of communication used to transmit or exchange information from either a server (sender) to an application (receiver) through the use of channels. +A message is a method of communication used to transmit or exchange information from a sender to the receiver through the use of channels. ## What is the purpose of message? @@ -13,10 +13,8 @@ A message is a method of communication used to transmit or exchange information ``` mermaid graph LR - A[(Server)] --> b[message] - b --> D([channel1]) - b --> E([channel2]) - D --> F[application A] - E --> G[application B] + A[(Sender Application )] --> B[message] + B --> D([channel]) + D --> F[(Receiver Application)] ``` From 9a44d6096e0c37833e7e10403b89ec01bfc31a05 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 10:08:45 +0200 Subject: [PATCH 04/22] Update message.md --- pages/docs/concepts/message.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index eb2bcdaa56a7..82ca01600057 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -13,8 +13,10 @@ A message is a method of communication used to transmit or exchange information ``` mermaid graph LR - A[(Sender Application )] --> B[message] - B --> D([channel]) - D --> F[(Receiver Application)] +subgraph one[message] +b([channel]) +end + +A{{sender application}} --> b --> C{{receiver application}} ``` From 20fa329452f636c99a16ccad64906880763448b9 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 10:20:27 +0200 Subject: [PATCH 05/22] Update message.md --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 82ca01600057..fa2e371fdf94 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 2 --- ## What is a message? -A message is a method of communication used to transmit or exchange information from a sender to the receiver through the use of channels. +Message is a method of communication used to transmit or exchange information from a sender to the receiver through the use of channels. A message is generic and can also be defined as an event, command, or request. ## What is the purpose of message? From cbcb0a539182f21307131bf74ccd37d5ee07b60c Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 11:35:09 +0200 Subject: [PATCH 06/22] Update message.md --- pages/docs/concepts/message.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index fa2e371fdf94..7d72fe73156b 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,9 +4,9 @@ weight: 2 --- ## What is a message? -Message is a method of communication used to transmit or exchange information from a sender to the receiver through the use of channels. A message is generic and can also be defined as an event, command, or request. +Message is a method of communication used to transmit or exchange information from a sender to the receiver through the use of channels. A message is generic and can also be defined as an event, command, or request. The sender includes a payload that contains data that would be processed according to the preferred format defined by the receiver. -## What is the purpose of message? +## Messages vs Events From 4376b4273ee040c0c51a8916dfc6bc3e2f9aeb2c Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 11:44:47 +0200 Subject: [PATCH 07/22] Update message.md --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 7d72fe73156b..483a1739f571 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 2 --- ## What is a message? -Message is a method of communication used to transmit or exchange information from a sender to the receiver through the use of channels. A message is generic and can also be defined as an event, command, or request. The sender includes a payload that contains data that would be processed according to the preferred format defined by the receiver. +`Message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an event, command, or request. The sender includes a payload that contains data that would be processed according to the preferred format defined by the receiver. ## Messages vs Events From fe20dead5491731e8e0fb162acfc22fb42f6c231 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Wed, 14 Sep 2022 13:16:34 +0200 Subject: [PATCH 08/22] Update message.md --- pages/docs/concepts/message.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 483a1739f571..c96ecfa55db5 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -7,6 +7,8 @@ weight: 2 `Message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an event, command, or request. The sender includes a payload that contains data that would be processed according to the preferred format defined by the receiver. ## Messages vs Events +A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while on the other hand, `events` only contain data of the changed state. +Overall, `events` are `messages` but not all `messages` are `events`. From a19a91aeb793e61d04083a919b05246755351287 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Tue, 20 Sep 2022 10:46:55 +0200 Subject: [PATCH 09/22] Update pages/docs/concepts/message.md Co-authored-by: Alejandra Quetzalli --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index c96ecfa55db5..1e591ab0c8ce 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -1,6 +1,6 @@ --- title: Message -weight: 2 +weight: 5 --- ## What is a message? From 027cca15af88b9485f2bc34865dc4d33abfff801 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Tue, 20 Sep 2022 10:47:09 +0200 Subject: [PATCH 10/22] Update pages/docs/concepts/message.md Co-authored-by: Alejandra Quetzalli --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 1e591ab0c8ce..87fecdc6c8ff 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 5 --- ## What is a message? -`Message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an event, command, or request. The sender includes a payload that contains data that would be processed according to the preferred format defined by the receiver. +A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an _event_, _command_, or _request_. The sender includes a payload containing data that is processed according to the preferred format defined by the receiver. ## Messages vs Events A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while on the other hand, `events` only contain data of the changed state. From b3e620146b849a728b1c69460aa9b72b83cfbac7 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Tue, 20 Sep 2022 10:47:25 +0200 Subject: [PATCH 11/22] Update pages/docs/concepts/message.md Co-authored-by: Alejandra Quetzalli --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 87fecdc6c8ff..e00d00b95765 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -7,7 +7,7 @@ weight: 5 A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an _event_, _command_, or _request_. The sender includes a payload containing data that is processed according to the preferred format defined by the receiver. ## Messages vs Events -A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while on the other hand, `events` only contain data of the changed state. +A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. Overall, `events` are `messages` but not all `messages` are `events`. From 9650737d04183bb1190cd895b6a1059510e000a2 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Tue, 20 Sep 2022 10:50:29 +0200 Subject: [PATCH 12/22] Update message.md --- pages/docs/concepts/message.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index e00d00b95765..76bca609fdac 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -6,19 +6,19 @@ weight: 5 ## What is a message? A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an _event_, _command_, or _request_. The sender includes a payload containing data that is processed according to the preferred format defined by the receiver. -## Messages vs Events -A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. -Overall, `events` are `messages` but not all `messages` are `events`. - - - ``` mermaid graph LR -subgraph one[message] -b([channel]) +subgraph one[channel] +b([message]) end A{{sender application}} --> b --> C{{receiver application}} ``` + +## Messages vs Events +A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. +Overall, `events` are `messages` but not all `messages` are `events`. + + From 7cd16c222047547053112df1272d812d165bc679 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Tue, 20 Sep 2022 11:29:14 +0200 Subject: [PATCH 13/22] Update message.md --- pages/docs/concepts/message.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 76bca609fdac..8c7212a05931 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 5 --- ## What is a message? -A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A `message` is generic and can also be defined as an _event_, _command_, or _request_. The sender includes a payload containing data that is processed according to the preferred format defined by the receiver. +A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A single `message` can be consumed by multiple independent receivers, and can be also defined as an _event_, _command_, or _request_. The sender includes a payload containing data that needs to be processed and serialized into a format appropriate for the receiver to process. ``` mermaid @@ -21,4 +21,3 @@ A{{sender application}} --> b --> C{{receiver application}} A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. Overall, `events` are `messages` but not all `messages` are `events`. - From 7b565db4bd90212be48580a9b7a4f5d460f43750 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Thu, 29 Sep 2022 11:28:43 +0200 Subject: [PATCH 14/22] Update message.md --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 8c7212a05931..ec863c46ea4e 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 5 --- ## What is a message? -A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A single `message` can be consumed by multiple independent receivers, and can be also defined as an _event_, _command_, or _request_. The sender includes a payload containing data that needs to be processed and serialized into a format appropriate for the receiver to process. +A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A single `message` can be consumed by multiple independent receivers, and can also be defined as an _event_ or _command_. The sender includes a payload containing data that needs to be processed and serialized into a format appropriate for the receiver to process. ``` mermaid From 717978ce27d60e9d113b368f8a9eb808aea84693 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Thu, 29 Sep 2022 11:44:33 +0200 Subject: [PATCH 15/22] Update message.md --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index ec863c46ea4e..2304516eaa61 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 5 --- ## What is a message? -A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A single `message` can be consumed by multiple independent receivers, and can also be defined as an _event_ or _command_. The sender includes a payload containing data that needs to be processed and serialized into a format appropriate for the receiver to process. +A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A single `message` can be consumed by multiple independent receivers, and can also be defined as an _event_ or _command_. The sender includes in the message a payload of data that needs to be processed and serialized by the receiver into an appropriate format e.g JSON, XML, binary, etc. ``` mermaid From d93cb5e484cd277ef71fe021d9b8b3b0a797d0ed Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Thu, 6 Oct 2022 11:29:40 +0200 Subject: [PATCH 16/22] Update message.md --- pages/docs/concepts/message.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 2304516eaa61..cf5c90abdc18 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -17,6 +17,8 @@ A{{sender application}} --> b --> C{{receiver application}} ``` +In the diagram above, the sender application transmits a `message` to the receiver application. + ## Messages vs Events A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. Overall, `events` are `messages` but not all `messages` are `events`. From 7649cbd7547a7228c5a39e21fff1fb06d227b274 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Mon, 10 Oct 2022 17:26:32 +0200 Subject: [PATCH 17/22] Update message.md --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index cf5c90abdc18..e39e21155371 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -1,6 +1,6 @@ --- title: Message -weight: 5 +weight: 10 --- ## What is a message? From 26473d36f7b922928fe92ac91d97c23aade7df5c Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Fri, 21 Oct 2022 09:30:09 +0200 Subject: [PATCH 18/22] Update pages/docs/concepts/message.md Co-authored-by: Alejandra Quetzalli --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index e39e21155371..b036a00ad22e 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 10 --- ## What is a message? -A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through the use of `channels`. A single `message` can be consumed by multiple independent receivers, and can also be defined as an _event_ or _command_. The sender includes in the message a payload of data that needs to be processed and serialized by the receiver into an appropriate format e.g JSON, XML, binary, etc. +A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through `channels`. A single `message` can be consumed by multiple independent receivers and can also be defined as an _event_ or _command_. The sender includes a payload of data that needs to be processed and serialized by the receiver into an appropriate format, e.g., JSON, XML, binary, etc. ``` mermaid From 4baa858008ea154ba18054d2291e75e691539e9a Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> Date: Fri, 28 Oct 2022 10:24:59 +0200 Subject: [PATCH 19/22] Update pages/docs/concepts/message.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fran Méndez --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index b036a00ad22e..44a9ea51f086 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -4,7 +4,7 @@ weight: 10 --- ## What is a message? -A `message` is a method of communication used to transmit or exchange information from a sender to the receiver through `channels`. A single `message` can be consumed by multiple independent receivers and can also be defined as an _event_ or _command_. The sender includes a payload of data that needs to be processed and serialized by the receiver into an appropriate format, e.g., JSON, XML, binary, etc. +A `message` is a communication asset used to transmit or exchange information from a sender to the receiver through `channels`. A single `message` can be consumed by multiple independent receivers and can also be defined as an _event_ or _command_. The sender includes a payload of data that needs to be processed and serialized by the receiver into an appropriate format, e.g., JSON, XML, binary, etc. It may also include metadata, i.e., information that describes the message itself. This metadata is often known as _headers_ or _properties_. ``` mermaid From 2b90201303556dda7106600c0c4b53cb3c629e73 Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda Date: Tue, 8 Nov 2022 08:33:19 +0000 Subject: [PATCH 20/22] Update --- pages/docs/concepts/message.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index 44a9ea51f086..f8bec350aa11 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -1,6 +1,6 @@ --- title: Message -weight: 10 +weight: 30 --- ## What is a message? @@ -23,3 +23,18 @@ In the diagram above, the sender application transmits a `message` to the receiv A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. Overall, `events` are `messages` but not all `messages` are `events`. + + \ No newline at end of file From 28f62b711fc4ff8df5256f1d5e06d50000be67df Mon Sep 17 00:00:00 2001 From: V Thulisile Sibanda Date: Tue, 8 Nov 2022 08:40:30 +0000 Subject: [PATCH 21/22] Update --- pages/docs/concepts/message.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index f8bec350aa11..ed9faf8ead5e 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -23,7 +23,7 @@ In the diagram above, the sender application transmits a `message` to the receiv A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. Overall, `events` are `messages` but not all `messages` are `events`. - +--- Date: Tue, 8 Nov 2022 12:38:47 +0200 Subject: [PATCH 22/22] Update message.md --- pages/docs/concepts/message.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pages/docs/concepts/message.md b/pages/docs/concepts/message.md index ed9faf8ead5e..dd39f30a4a34 100644 --- a/pages/docs/concepts/message.md +++ b/pages/docs/concepts/message.md @@ -20,7 +20,18 @@ A{{sender application}} --> b --> C{{receiver application}} In the diagram above, the sender application transmits a `message` to the receiver application. ## Messages vs Events -A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. `Messages` contain all necessary information required to perform the request, while `events` only contain data of the changed state. +A `message` carries information from one application to the other, while an `event` is a message that provides details of something that has already occurred. One important aspect to note is that depending on the type of information a `message` contains, it can fall under an _event_, _query_, or _command_. +*See the diagram below.* + +``` mermaid +graph TD + A(Message) + A --> B(Event) + A --> C(Request) + C --> D(Query) + C --> E(Command) +``` + Overall, `events` are `messages` but not all `messages` are `events`. --- @@ -37,4 +48,4 @@ Overall, `events` are `messages` but not all `messages` are `events`. title: 'Tutorials - Overview', } ]} -/> \ No newline at end of file +/>