Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DDD31200CA9 for ; Fri, 16 Jun 2017 13:45:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DC6DF160BDD; Fri, 16 Jun 2017 11:45:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2DB78160BD2 for ; Fri, 16 Jun 2017 13:45:36 +0200 (CEST) Received: (qmail 98705 invoked by uid 500); 16 Jun 2017 11:45:35 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 98695 invoked by uid 99); 16 Jun 2017 11:45:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2017 11:45:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D4588C03DE for ; Fri, 16 Jun 2017 11:45:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id NMkIrRMXiveh for ; Fri, 16 Jun 2017 11:45:34 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9717F5FB71 for ; Fri, 16 Jun 2017 11:45:33 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 587A34A978407 for ; Fri, 16 Jun 2017 04:45:32 -0700 (MST) Date: Fri, 16 Jun 2017 04:29:13 -0700 (PDT) From: Biplob Biswas To: user@flink.apache.org Message-ID: <1497612553941-13794.post@n4.nabble.com> Subject: Flink CEP not emitting timed out events properly MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 16 Jun 2017 11:45:37 -0000 Hi, I am having some issues with FlinkCEP again. This time I am using processing time for my CEP job where I am reading from multiple kafka topics and using the pattern API to create a rule. I am outputting both, the matched events as well as timeout events. Now my problem is, I am sending some event over one of the topics such that subsequent events wouldn't be generated within the time specified and I expect a timed out event. But it is not generating the timed out event even after 2 minutes (specified interval) and it's only generating the previous timed out events when I am sending an extra message over the kafka topic. I am not sure why is this happening, for example: 2> RecordReadEventType 1483278179000 044023a4-edec-439c-b221-806740972da2 [] 2> RecordReadEventType 1483278179000 044023a4-edec-439c-b221-806740972da1 [] 2> RecordReadEventType 1483278179000 044023a4-edec-439c-b221-806740972da5 [] 2> Anomaly Events: {first=[RecordReadEventType 1483278179000 044023a4-edec-439c-b221-806740972da2 []]} @ 1497612386342 2> Anomaly Events: {first=[RecordReadEventType 1483278179000 044023a4-edec-439c-b221-806740972da1 []]} @ 1497612386342 in the example above, the anomaly events are generated only after sending the event with event id - 044023a4-edec-439c-b221-806740972da5 and that too the anomaly event for this particular event is not generated. I suspected that the watermark was not updated automatically for the last event and it's only updated when a new event comes in the system. So, I added the setAutoWatermarkInterval(1000) to the code but no avail. Thanks & Regards, Biplob Biswas -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-CEP-not-emitting-timed-out-events-properly-tp13794.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.