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

within method should applied in every individual pattern

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Staged
    • 1.8.0
    • None
    • Library / CEP
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: