{"id":4998,"date":"2023-10-11T22:22:43","date_gmt":"2023-10-11T22:22:43","guid":{"rendered":"https:\/\/dalelane.co.uk\/blog\/?p=4998"},"modified":"2023-10-11T22:22:44","modified_gmt":"2023-10-11T22:22:44","slug":"understanding-windows-in-event-processing","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=4998","title":{"rendered":"Understanding windows in Event Processing"},"content":{"rendered":"<p><strong>Event Processing (one of the new capabilities of <a href=\"https:\/\/dalelane.co.uk\/blog\/?p=4905\">IBM Event Automation<\/a>) makes it easy to perform stateful processing of streams of events from Kafka topics. In this post, I want to drill down a little into how windowed processing behaves.<\/strong><\/p>\n<p>I&#8217;ve enjoyed the chance to see the solutions that people have started to build with the tool. As part of this, I&#8217;ve been helping several people to understand the results produced by the event processing flows they&#8217;ve made.<\/p>\n<p>These often started with different questions, such as:<\/p>\n<ul>\n<li>Why hasn&#8217;t my flow produced any results?<\/li>\n<li>Why isn&#8217;t my one-minute window producing one result every minute?<\/li>\n<li>Why did the last one event on my Kafka topic cause results to be produced for several different windows?<\/li>\n<li>etc.<\/li>\n<\/ul>\n<p>However, these are often symptoms of a single common question: how windowed processing operations behave.<\/p>\n<p>I&#8217;ve tried to come up with simple ways to demonstrate how it works, so in this post I want to share how I&#8217;m currently explaining it.<\/p>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"320\" style=\"border: thin black solid\"  src=\"https:\/\/www.youtube.com\/embed\/x_r6GNZmsd4\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><br \/>\n<small><a href=\"https:\/\/youtu.be\/x_r6GNZmsd4\">youtu.be\/x_r6GNZmsd4<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Event Processing (one of the new capabilities of IBM Event Automation) makes it easy to perform stateful processing of streams of events from Kafka topics. In this post, I want to drill down a little into how windowed processing behaves. I&#8217;ve enjoyed the chance to see the solutions that people have started to build with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5008,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[593,611,610,584],"class_list":["post-4998","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ibm","tag-apachekafka","tag-eventautomation","tag-flink","tag-kafka"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4998"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4998\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/5008"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}