Last modified by Erik Bakker on 2025/09/12 09:24

From version 1.1
edited by marijn
on 2022/05/05 16:14
Change comment: There is no comment for this version
To version 8.1
edited by Erik Bakker
on 2023/09/11 13:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +Considerations for Event Streaming or Messaging
Parent
... ... @@ -1,0 +1,1 @@
1 +WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.marijn
1 +XWiki.ebakker
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Content
... ... @@ -1,20 +1,8 @@
1 -{{html wiki="true"}}
2 -<div class="ez-academy">
3 - <div class="ez-academy_body">
4 -
5 -<div class="doc">
6 -
7 -
8 -
9 -= Considerations for Event Streaming or Messaging =
10 -
1 +{{container}}{{container layoutStyle="columns"}}(((
11 11  In this microlearning we'll take a moment to discuss several considerations for making the right choice between the two patterns
12 12  
13 -Should you have any questions, please get in touch with academy@emagiz.com.
4 +Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]].
14 14  
15 -* Last update: December 2021
16 -* Required reading time: 10 minutes
17 -
18 18  == 1. Prerequisites ==
19 19  
20 20  * Advanced knowledge of the eMagiz platform
... ... @@ -25,57 +25,37 @@
25 25  
26 26  Please refer to the following Fundamentals to learn the key concepts of both patterns
27 27  
28 -* [eMagiz Event Streaming](../../docs/fundamental/fundamental-event-streaming-introduction)
29 -* [eMagiz Messaging](../../docs/fundamental/fundamental-event-streaming-introduction)
16 +* [[eMagiz Event Streaming>>doc:Main.eMagiz Academy.Fundamentals.fundamental-event-streaming-introduction||target="blank"]]
17 +* [[eMagiz Messaging>>doc:Main.eMagiz Academy.Fundamentals.fundamental-messaging-introduction||target="blank"]]
30 30  
31 -
32 -
33 33  == 3. Considerations for selecting Messaging or Event Streaming ==
34 34  
35 35  The following sections are helpful to understand what things to consider in selecting the right pattern.
36 36  
37 37  * **Asynchronous**
38 - * Both patterns are asynchronous in nature. In case a synchronous message is the right choice, pelase refer to the relevant microlearning that compares messaging and API gateway
24 + ** Both patterns are asynchronous in nature. In case a synchronous message is the right choice, pelase refer to the relevant microlearning that compares messaging and API gateway
39 39  * **Data**
40 - * Event Streaming solutions are typically used in large volumes of data whereby each message is relatively small. A typical example is an IoT data stream, but you can use Event Streaming for order, confirmations or other data collections. There is a maximum value for each message on a topic of 1Mb
41 - * Messaging can handle larger messages although 1 Mb message are the average that eMagiz considers. In case larger messages exist, Messaging would be a better option
26 + ** Event Streaming solutions are typically used in large volumes of data whereby each message is relatively small. A typical example is an IoT data stream, but you can use Event Streaming for order, confirmations or other data collections. There is a maximum value for each message on a topic of 1Mb
27 + ** Messaging can handle larger messages although 1 Mb message are the average that eMagiz considers. In case larger messages exist, Messaging would be a better option
42 42  * **Online vs. offline**
43 - * For Messaging, the delivering and receiving system need to be online with high availability ratio's in order to process the messages
44 - * For Event Streaming, producers and consumers can choose their own downtime and for small intervals where messages are not produces or consumed
29 + ** For Messaging, the delivering and receiving system need to be online with high availability ratio's in order to process the messages
30 + ** For Event Streaming, producers and consumers can choose their own downtime and for small intervals where messages are not produces or consumed
45 45  * **Contract & communication**
46 - * Messaging required a fixed contract between the message definitions that are exchanged. A change of definition would result in validation issues and therefore more communication is required
47 - * Event Streaming has a more loosly character in a sense that the producer defines the message that is send and publishes it to the consumer. COnsumer can then consume the message and decide how to process the message
32 + ** Messaging required a fixed contract between the message definitions that are exchanged. A change of definition would result in validation issues and therefore more communication is required
33 + ** Event Streaming has a more loosly character in a sense that the producer defines the message that is send and publishes it to the consumer. COnsumer can then consume the message and decide how to process the message
48 48  * **Technical disqualifiers**
49 - * Use Event Streaming requires the produces and the consumer to have the technical capability to produce and consume messages on a Kafka topic.
50 - * Messaging allows to receive and send messages via many more protocols such as REST, SOAP, File pickup, etc. Please note that eMagiz Messaging can also produce and consume messages from and to topics which can help to support the use of event streaming
35 + ** Use Event Streaming requires the produces and the consumer to have the technical capability to produce and consume messages on a Kafka topic.
36 + ** Messaging allows to receive and send messages via many more protocols such as REST, SOAP, File pickup, etc. Please note that eMagiz Messaging can also produce and consume messages from and to topics which can help to support the use of event streaming
51 51  * **Data Storage**
52 - * In the Messaging pattern, no data is stored and the data is in full transit
53 - * In the Event Streaming pattern, data is persisted for a short time in a storage location. The data is still considered to be in transit, but making choice where data is persisted too often with minimal change to the message could impact data storage. eMagiz has licensed limits for data storage in Event Streaming.
38 + ** In the Messaging pattern, no data is stored and the data is in full transit
39 + ** In the Event Streaming pattern, data is persisted for a short time in a storage location. The data is still considered to be in transit, but making choice where data is persisted too often with minimal change to the message could impact data storage. eMagiz has licensed limits for data storage in Event Streaming.
54 54  
55 -===== Practice =====
41 +== 4. Key takeaways ==
56 56  
57 -== 4. Assignment ==
58 -
59 -There is no assignment for now in this microlearning
60 -
61 -== 5. Key takeaways ==
62 -
63 63  * There are a set of considerations to make decisions for event streaming vs. messaging
64 64  * Make sure to read the eMagiz Fundamentals properly before taking this section into account in your project
65 65  
46 +== 5. Suggested Additional Readings ==
66 66  
67 -
68 -== 6. Suggested Additional Readings ==
69 -
70 -Take a moment to read the following link https://emagiz.github.io/docs/usecase/index_academy_usecase_pattern_discovery
71 -
72 -== 7. Silent demonstration video ==
73 -
74 -As this is a more theoretical microlearning, we have no video that accompanies this microlearning.
75 -
76 -</div>
77 -</main>
78 -</div>
79 -</div>
80 -
81 -{{/html}}
48 +Take a moment to read the following [[Usecase>>doc:Main.eMagiz Academy.Use Cases.Pattern Determination.WebHome||target="blank"]]
49 +)))((({{toc/}}))){{/container}}{{/container}}