Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13870

within method should applied in every individual pattern

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Staged
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Library / CEP
    • Labels:
      None

      Description

      When I write a Pattern like this:

      Pattern.begin("start").where()
        .followBy("middle0").where().within(Time.second(1))
        .followBy("middle1").where().within(Time.second(2))
        .followBy("middle2").where().within(Time.second(3))
      

      the actual windowTime is the smallest time: 1 second.
      If I want having different windowTime in different part of pattern, is there a way to avoid this´╝č
      Perhaps I can make "within" become a condition in Pattern, just a thought.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              liuyufei YufeiLiu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: