Re: delay one of the datastream when performing join operation on event-time and watermark

2018-12-06 Thread jincheng sun
Hi Pakesh Kuma, I think you can using the interval-join, e.g.: orderStream .keyBy() .intervalJoin(invoiceStream.keyBy()) .between(Time.minutes(-5), Time.minutes(5)) The semantics of interval-join and detailed usage description can refer to https://ci.apache.org/projects/flink/flink-do

delay one of the datastream when performing join operation on event-time and watermark

2018-12-06 Thread Rakesh Kumar
Hi, I have two data sources one is for order data and another one is for invoice data, these two data i am pushing into kafka topic in json form. I wanted to delay order data for 5 mins because invoice data comes only after order data is generated. So, for that i have written a flink program which