Commit 0e4fc883 authored by 赵建伟's avatar 赵建伟

update codes

parent 8065f998
...@@ -111,7 +111,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{ ...@@ -111,7 +111,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{
} }
return false; return false;
} }
}); }).setParallelism(parallelism);
//filter.print(); //filter.print();
SingleOutputStreamOperator map = filter SingleOutputStreamOperator map = filter
.map(new MapFunction<JSONObject, CtrEstimatePfrEtl>() { .map(new MapFunction<JSONObject, CtrEstimatePfrEtl>() {
...@@ -155,7 +155,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{ ...@@ -155,7 +155,7 @@ public class CtrEstimatePfrOperator implements BaseOperator{
} }
return ctrEstimatePfrEtl; return ctrEstimatePfrEtl;
} }
}); }).setParallelism(parallelism);
//map.print(); //map.print();
DataStream<DeviceCurrentEstimatePfrTmp> tidbAsyncDataStream = AsyncDataStream DataStream<DeviceCurrentEstimatePfrTmp> tidbAsyncDataStream = AsyncDataStream
.unorderedWait(map, new TidbMysqlAsyncPfrSource(jerryJdbcUrl,jerryUsername,jerryPassword), 1, TimeUnit.MINUTES, 1000) .unorderedWait(map, new TidbMysqlAsyncPfrSource(jerryJdbcUrl,jerryUsername,jerryPassword), 1, TimeUnit.MINUTES, 1000)
......
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