Commit dfb03a81 authored by 周昊's avatar 周昊

Merge branch 'master' into production

parents 9e3c0da9 ed92ab30
......@@ -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
outputStreamOperator.addSink(new FlinkKafkaProducer("172.16.20.211: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