The example is to show how to send data to a IoTDB server from a Flink job.
- Launch the IoTDB server.
- Run
org.apache.iotdb.flink.FlinkIoTDBSink.javato run the flink job on local mini cluster.
- Run
org.apache.iotdb.flink.FlinkTsFileBatchSource.javato create a tsfile and read it via a flink DataSet job on local mini cluster. - Run
org.apache.iotdb.flink.FlinkTsFileStreamSource.javato create a tsfile and read it via a flink DataStream job on local mini cluster. - Run
org.apache.iotdb.flink.FlinkTsFileBatchSink.javato write a tsfile via a flink DataSet job on local mini cluster and print the content to stdout. - Run
org.apache.iotdb.flink.FlinkTsFileStreamSink.javato write a tsfile via a flink DataStream job on local mini cluster and print the content to stdout.