Commit 6e91cec6 authored by 刘喆's avatar 刘喆

add checkpointPath

parent 2d7a72ef
......@@ -74,7 +74,7 @@ public class PreciseExposureStreaming {
windowSize = parameterTool.getInt("windowSize", 30);
parallelism = parameterTool.getInt("parallelism", 1);
startTime = parameterTool.get("startTime", null);
checkpointPath = parameterTool.getRequired("/user/data/flink/{程序名}/checkpoint");
checkpointPath = parameterTool.getRequired("checkpointPath");
printUsage(parameterTool);
} catch (Exception e) {
e.printStackTrace();
......@@ -189,7 +189,8 @@ public class PreciseExposureStreaming {
" --sinkJdbcUrl <target database url> \n" +
" --sinkTableName <target table name> \n" +
" --parallelism <parallelism, default 1> \n" +
" --startTime <startTime, default 1> \n"
" --startTime <kafka startTime, default null> \n" +
" --checkpointPath <checkpointPath, hdfs> \n"
);
}
......@@ -215,7 +216,8 @@ public class PreciseExposureStreaming {
" --sinkJdbcUrl " + parameterTool.getRequired("sinkJdbcUrl") + " \n" +
" --sinkTableName " + parameterTool.getRequired("sinkTableName") + " \n" +
" --parallelism "+ parameterTool.getInt("parallelism", 1) + " \n" +
" --startTime " + parameterTool.get("startTime", null) + " \n"
" --startTime " + parameterTool.get("startTime", null) + " \n" +
" --checkpointPath " + parameterTool.getRequired("checkpointPath") + " \n"
);
}
......
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