Github user medcv commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6138#discussion_r195749896
  
    --- Diff: docs/dev/libs/cep.md ---
    @@ -131,7 +131,7 @@ val result: DataStream[Alert] = 
patternStream.select(createAlert(_))
     The pattern API allows you to define complex pattern sequences that you 
want to extract from your input stream.
     
     Each complex pattern sequence consists of multiple simple patterns, i.e. 
patterns looking for individual events with the same properties. From now on, 
we will call these simple patterns **patterns**, and the final complex pattern 
sequence we are searching for in the stream, the **pattern sequence**. You can 
see a pattern sequence as a graph of such patterns, where transitions from one 
pattern to the next occur based on user-specified
    -*conditions*, e.g. `event.getName().equals("start")`. A **match** is a 
sequence of input events which visits all
    --- End diff --
    
    just to make it consistent with the `return event.getName().equals("end");` 
in the above snippet 


---

Reply via email to