import java.net.URL
import java.util
import org.apache.flink.cep.{
PatternSelectFunction, PatternTimeoutFunction}
import org.apache.flink.cep.scala.CEP
import org.apache.flink.cep.scala.pattern.Pattern
import org.apache.flink.streaming.api.TimeCharacteristic
import org.apache.flink.streaming.api.scala._
import org.apache.flink.streaming.api.windowing.time.Time
/**
* Project: c
* Created by Bright on 2020-09-09 9:10
* Description: 对支付订单的验证 , 如果超过15min就回报警
*
*/
case class OrderEvent(orderId: Long,
eventType: String,
txId: String,
timestamp: Long)
case class OrderPayResult(orderId:
Flink 中对超时订单做验证和警告 遇到的小问题
最新推荐文章于 2022-06-11 10:22:51 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)