|
|
|
@ -72,7 +72,7 @@ public class RootCloudIotDataFormatterJob { |
|
|
|
.name("Transform MachineIotDataReceivedEvent"); |
|
|
|
|
|
|
|
// 发送到OSS存储 |
|
|
|
String outputPath = "oss://qn-flink-test/test"; |
|
|
|
String outputPath = "oss://qn-flink-test/root-cloud-model-hw-reported-data"; |
|
|
|
StreamingFileSink<MachineIotDataReceivedEvent> sink = StreamingFileSink.forRowFormat( |
|
|
|
new Path(outputPath), |
|
|
|
new SimpleStringEncoder<MachineIotDataReceivedEvent>("UTF-8") |
|
|
|
|