Hi Yue, Thanks for providing the benefit of this feature. After this feature is merged, you are welcome to try this feature in business scenarios.
Regards, Nicholas Jiang On 2022/05/06 11:31:48 yue ma wrote: > hi Nicholas, > > Thanks for bringing this discussion, we also think it's a useful feature. > Some fine-grained timeout pattern matching can be implemented in CEP which > makes Flink CEP more powerful > > Nicholas <programg...@163.com> 于2022年5月5日周四 14:28写道: > > > Hi everyone, > > > > > > > > > > Pattern#withIn interface in CEP defines the maximum time interval in which > > a matching pattern has to be completed in order to be considered valid, > > which interval corresponds to the maximum time gap between first and the > > last event. The interval representing the maximum time gap between events > > is required to define in the scenario like purchasing good within a maximum > > of 5 minutes after browsing. > > > > > > > > > > I would like to start a discussion about FLIP-228[1], in which within > > between events is proposed in Pattern to support the definition of the > > maximum time interval in which a completed partial matching pattern is > > considered valid, which interval represents the maximum time gap between > > events for partial matching Pattern. > > > > > > > > > > Hence we propose the Pattern#partialWithin interface to define the maximum > > time interval in which a completed partial matching pattern is considered > > valid. Please take a look at the FLIP page [1] to get more details. Any > > feedback about the FLIP-228 would be appreciated! > > > > > > > > > > [1] > > https://cwiki.apache.org/confluence/display/FLINK/FLIP-228%3A+Support+Within+between+events+in+CEP+Pattern > > > > > > > > > > Best regards, > > > > Nicholas Jiang >