[ 
https://issues.apache.org/jira/browse/FLINK-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834072#comment-15834072
 ] 

ASF GitHub Bot commented on FLINK-4395:
---------------------------------------

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

    https://github.com/apache/flink/pull/2396#discussion_r97272232
  
    --- Diff: 
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/operator/ProcessingType.java
 ---
    @@ -0,0 +1,29 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.flink.cep.operator;
    +
    +/**
    + * Defines what time should be considered when even is being processed.
    + */
    +public enum ProcessingType {
    +   // Consider time of event occurance when processing an event
    +   EVENT_TIME,
    +   processingType, // Consider local system time when processing an event
    --- End diff --
    
    I think this value is unnecessary.


> Eager processing of late arrivals in CEP operator
> -------------------------------------------------
>
>                 Key: FLINK-4395
>                 URL: https://issues.apache.org/jira/browse/FLINK-4395
>             Project: Flink
>          Issue Type: Improvement
>          Components: CEP
>            Reporter: Till Rohrmann
>            Assignee: Ivan Mushketyk
>            Priority: Minor
>
> At the moment elements are only processed after the CEP operator has received 
> a watermark larger than the elements (in EventTime mode). In case of late 
> arrivals this means that the late elements are not processed until the next 
> watermark has arrived.
> In order to decrease the latency for this scenario, I propose to eagerly 
> process late arrivals in the CEP operator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to