1 00:00:00,640 --> 00:00:02,210 Hello, and welcome to the lesson 2 00:00:02,210 --> 00:00:05,000 Designing and Configuring Exception Handling. 3 00:00:05,000 --> 00:00:05,950 In this lesson, 4 00:00:05,950 --> 00:00:08,800 we are going to talk about Azure Stream Analytics 5 00:00:08,800 --> 00:00:11,410 and how we deal with exceptions. So, 6 00:00:11,410 --> 00:00:14,760 in the lesson, we're going to talk about output error policy 7 00:00:14,760 --> 00:00:15,830 and what that means. 8 00:00:15,830 --> 00:00:18,310 And then we're going to take a minute to see it live. 9 00:00:18,310 --> 00:00:20,540 So jumping into the Azure Stream Analytics 10 00:00:20,540 --> 00:00:23,820 output error policy, essentially there's 2 options. 11 00:00:23,820 --> 00:00:25,790 First is Drop. 12 00:00:25,790 --> 00:00:28,050 If we choose to Drop, what's going to happen is 13 00:00:28,050 --> 00:00:31,890 if we have an error, we're going to drop those output events 14 00:00:31,890 --> 00:00:32,860 that result. 15 00:00:32,860 --> 00:00:34,810 So errors are just immediately dropped 16 00:00:34,810 --> 00:00:36,380 and we move on with life. 17 00:00:36,380 --> 00:00:38,610 Second option? Retry. 18 00:00:38,610 --> 00:00:41,100 So if we get that, essentially, what we're doing 19 00:00:41,100 --> 00:00:45,730 is we're just going to retry to process that event 20 00:00:45,730 --> 00:00:46,920 and we're going to retry 21 00:00:46,920 --> 00:00:50,733 and retry literally forever, potentially. 22 00:00:52,130 --> 00:00:55,220 We will literally write the event indefinitely 23 00:00:55,220 --> 00:00:57,640 until the right succeeds. 24 00:00:57,640 --> 00:00:59,910 So that's it. 25 00:00:59,910 --> 00:01:02,150 Super fast and easy. 26 00:01:02,150 --> 00:01:05,750 But it is something that you need to know for the DP-203. 27 00:01:05,750 --> 00:01:09,903 So now let's take a minute and see it in the portal. 28 00:01:11,220 --> 00:01:12,660 So let me jump over. 29 00:01:12,660 --> 00:01:15,100 We are in an Azure Stream Analytics job 30 00:01:15,100 --> 00:01:17,790 just going to scroll down here to the bottom 31 00:01:17,790 --> 00:01:18,623 and you can see there 32 00:01:18,623 --> 00:01:21,123 is an Error policy listed here under Configure. 33 00:01:22,010 --> 00:01:23,620 Click on that. 34 00:01:23,620 --> 00:01:25,560 And guess what? 35 00:01:25,560 --> 00:01:27,900 2 options: Drop and Retry. 36 00:01:27,900 --> 00:01:30,100 So we can choose 1 of those 2 things. 37 00:01:30,100 --> 00:01:31,560 Literally, I pick the one want, 38 00:01:31,560 --> 00:01:34,860 I click on the Save button, and that's it. 39 00:01:34,860 --> 00:01:36,023 It's going to save it. 40 00:01:36,900 --> 00:01:38,780 So, believe it or not, for this lesson 41 00:01:38,780 --> 00:01:40,130 that's all we needed to learn. 42 00:01:40,130 --> 00:01:40,963 It is important 43 00:01:40,963 --> 00:01:44,520 because it is listed as a skill on the DP-203. 44 00:01:44,520 --> 00:01:46,230 So basically, this one's simple. 45 00:01:46,230 --> 00:01:50,890 You need to know Drop and Retry, what they do, and why. 46 00:01:50,890 --> 00:01:51,723 Yeah, I know. 47 00:01:51,723 --> 00:01:52,700 Sorry. 48 00:01:52,700 --> 00:01:54,090 All right, that's it for this lesson, 49 00:01:54,090 --> 00:01:55,340 I'll see you in the next.