<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>acro-engineer</author_name>
  <author_url>https://blog.hatena.ne.jp/acro-engineer/</author_url>
  <blog_title>Taste of Tech Topics</blog_title>
  <blog_url>https://acro-engineer.hatenablog.com/</blog_url>
  <categories>
    <anon>Flink</anon>
  </categories>
  <description>こんにちは、阪本です。 Apache FlinkでCEP（Complex Event Processing）の実現方法について、前回は時刻とグルーピングについて説明しました。 今回は、イベントのパターン定義を見てみましょう。これで、簡単なイベント処理ができるようになります。 パターンを定義する ここでは、「15秒以内に温度が30℃を2回以上超える」を表すパターンを定義します。 パターンは、CEPクラスのpatternメソッドで次のように定義します。 なお、keyedStreamは、前回作成したKeyedStream&lt;Map&lt;String, Object&gt;, String&gt;型のストリームです。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Facro-engineer.hatenablog.com%2Fentry%2F2017%2F06%2F08%2F120000&quot; title=&quot;Apache FlinkでCEPを実現　～パターン指定～ - Taste of Tech Topics&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/acro-engineer/20170317/20170317094950.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-06-08 12:00:00</published>
  <title>Apache FlinkでCEPを実現　～パターン指定～</title>
  <type>rich</type>
  <url>https://acro-engineer.hatenablog.com/entry/2017/06/08/120000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
