Last modified by Erik Bakker on 2024/02/21 22:42

From version 15.1
edited by Eva Torken
on 2024/02/21 22:41
Change comment: Renamed from xwiki:Main.eMagiz Academy.Microlearnings.Intermediate Level.Understanding Error Handling.intermediate-understanding-error-handling-in-emagiz-event-streaming
To version 10.2
edited by Erik Bakker
on 2022/06/10 11:15
Change comment: Update document after refactoring.

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Error handling in Event Streaming
1 +intermediate-understanding-error-handling-in-emagiz-event-streaming
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.etorken
1 +XWiki.ebakker
Default language
... ... @@ -1,1 +1,0 @@
1 -en
Content
... ... @@ -1,12 +1,13 @@
1 1  {{container}}{{container layoutStyle="columns"}}(((
2 -{{error}}
3 -Note that the functionality mentioned in this microlearning will become obsolete when migrating to the 3rd generation runtime.
4 -{{/error}}
2 += Event Streaming =
5 5  
6 6  In this microlearning, we will learn how error handling works for event processors. In a later module, we will learn more about event processors and we will learn how to configure them. In this microlearning, the focus will remain on error handling and not on flow configuration.
7 7  
8 8  Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
9 9  
8 +* Last update: August 4th, 2021
9 +* Required reading time: 5 minutes
10 +
10 10  == 1. Prerequisites ==
11 11  
12 12  * Intermediate knowledge of the eMagiz platform
... ... @@ -16,20 +16,22 @@
16 16  This microlearning centers on error handling for Event Streaming.
17 17  
18 18  * The key aspects are:
19 - ** The producer and consumer are responsible for handling the error correctly
20 - ** eMagiz will only log exceptions that occur within an event processor
21 - ** You can use the log to determine what went wrong where and when
22 - ** When eMagiz only provides the topic no additional logging functionality is available in eMagiz
20 + * The producer and consumer are responsible for handling the error correctly
21 + * eMagiz will only log exceptions that occur within an event processor
22 + * You can use the log to determine what went wrong where and when
23 + * When eMagiz only provides the topic no additional logging functionality is available in eMagiz
23 23  
25 +
26 +
24 24  == 3. Event Streaming ==
25 25  
26 26  In this microlearning, we will learn how error handling works for event processors. In a later module, we will learn more about event processors and we will learn how to configure them. In this microlearning, the focus will remain on error handling and not on flow configuration.
27 27  
28 28  * The key aspects are:
29 - ** The producer and consumer are responsible for handling the error correctly
30 - ** eMagiz will only log exceptions that occur within an event processor
31 - ** You can use the log to determine what went wrong where and when
32 - ** When eMagiz only provides the topic no additional logging functionality is available in eMagiz
32 + The producer and consumer are responsible for handling the error correctly
33 + * eMagiz will only log exceptions that occur within an event processor
34 + * You can use the log to determine what went wrong where and when
35 + * When eMagiz only provides the topic no additional logging functionality is available in eMagiz
33 33  
34 34  As we learned in previous microlearnings on the subject of Event Streaming the idea behind it is that producers and consumers can act completely independently of one another. They do not have to be aware of each other. Facilitating Event Streaming in eMagiz can be done in two ways:
35 35  
... ... @@ -42,16 +42,28 @@
42 42  
43 43  Each of these errors corresponds with a failed attempt to process a certain message. Keep an eye out for this logging to prevent data loss. If an error persists you should start thinking about finding out and subsequently solving the underlying problem.
44 44  
45 -== 4. Key takeaways ==
46 46  
49 +
50 +== 4. Assignment ==
51 +
52 +Check out if you have a project in which the Event Streaming pattern is used. If so, check out if you can find any errors that have occurred and see whether you can interpret them.
53 +
54 +== 5. Key takeaways ==
55 +
47 47  * The key aspects are:
48 - ** The producer and consumer are responsible for handling the error correctly
49 - ** eMagiz will only log exceptions that occur within an event processor
50 - ** You can use the log to determine what went wrong where and when
51 - ** When eMagiz only provides the topic no additional logging functionality is available in eMagiz
57 + * The producer and consumer are responsible for handling the error correctly
58 + * eMagiz will only log exceptions that occur within an event processor
59 + * You can use the log to determine what went wrong where and when
60 + * When eMagiz only provides the topic no additional logging functionality is available in eMagiz
52 52  
53 -== 5. Suggested Additional Readings ==
54 54  
63 +
64 +== 6. Suggested Additional Readings ==
65 +
55 55  If you are interested in this topic please read the help text eMagiz provides you.
56 56  
68 +== 7. Silent demonstration video ==
69 +
70 +As this is a more theoretical microlearning we have no video for this.
71 +
57 57  )))((({{toc/}}))){{/container}}{{/container}}