FlinkCEP - complex event processing for Apache Flink
Questions tagged [flink-cep]
368 questions
0
votes
1 answer
scala - cannot resolve symbol Map
I´m writing a simple code to test CEP library in Scala, maven dependency version 1.1-SNAPSHOT. My code:
val res = igd.filter(_._2 == 13)
val pattern: Pattern[(Long,String,String,Long), _] =…

jag
- 95
- 2
- 15
0
votes
1 answer
Use of Streaming in Hadoop
I am trying to study this Flink CEP example. I do see that in this example,they have created an single application (which is kind of streaming application) which is producing & consuming the data & applying pattern matching on the data. They have…

Akki
- 493
- 1
- 11
- 23
0
votes
1 answer
Scala: Is object in every scope the identical singleton?
I have a flink application. I use an object inside the map function. Like this:
.map(value => {
import spray.json._
import com.webtrekk.sObjects._
import com.webtrekk.jsonProtocol._
import com.webtrekk.salesforce._
implicit val…

Citrullin
- 2,269
- 14
- 29
0
votes
1 answer
Query Using CASE WHEN in Apache Flink's Table API
I am using Flink's Table API. I would like to use CASE WHEN in a Table API query.
My query uses three fields: routeid, startlocation, distance and I want to use a CASE WHEN clause to identify factors based on the distance value which are conditions…

Akki
- 493
- 1
- 11
- 23
-1
votes
2 answers
MapValue use in Flink
I have a question about using MapValue in Flink because I need to save a map as part of the state, as you know the state needs to be deserializable/serializable, so i extend my class from MapValue because MapValue is an abstract class.
public class…

user2289345
- 63
- 6
-1
votes
1 answer
Using Apache Flink to consume from a Kafka topic then processing the stream with Flink CEP
In this project, I'm trying to consume data from a Kafka topic using Flink and then process the stream to detect a pattern using Flink CEP.
The part of using Kafka connect works and data is being fetched, but the CEP part doesn't work for some…

Yassin Rebai
- 3
- 1
-1
votes
1 answer
How to specify the time for which the state should be maintained in Flink CEP
Let me explain a scenario which I need to handle. Let us assume three devices A,B,C are sending logs to the flink CEP for processing. Let us assume the pattern as A followed by 5 mins B which is followed by C in 5 mins. Let us assume a scenario…

JDForLife
- 91
- 2
- 10
-1
votes
1 answer
How to control flink sending output to sideoutput in keyedbroadcastprocessfunction
I am trying to validate a data stream against a set of rules to detect patterns in flink by validating the data stream against a broadcast stream with set of rules i using for loop to collect all the patterns in map and iterating through it in…

YRK
- 153
- 1
- 1
- 22