Commit ed92ab30 authored by 周昊's avatar 周昊

1、添加对于数据库无摄像头数据报错校验

parent 7f44f535
...@@ -107,7 +107,7 @@ public class StreamingJob { ...@@ -107,7 +107,7 @@ public class StreamingJob {
}); });
//去空 //去空
outputStreamOperator = outputStreamOperator.filter(algorithmPushString -> algorithmPushString!= null && "".equals(algorithmPushString)); outputStreamOperator = outputStreamOperator.filter(algorithmPushString -> algorithmPushString!= null && !"".equals(algorithmPushString));
//3、5 输出kafka //3、5 输出kafka
outputStreamOperator.addSink(new FlinkKafkaProducer("192.168.10.137:9092", "test-topic", new SimpleStringSchema())); outputStreamOperator.addSink(new FlinkKafkaProducer("192.168.10.137:9092", "test-topic", new SimpleStringSchema()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment