tree: 9c215c68cdf3d7b3b6468638532ce9c1bc540b07 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
example/ext-pipe-plugin-example/README.md

How to develop 1 ext-pipe plugin?

1. Create 1 new java project, add below maven dependency.

<dependencies>
    <dependency>
        <artifactId>external-pipe-api</artifactId>
        <groupId>org.apache.iotdb</groupId>
        <version>0.14.0-SNAPSHOT</version>
    </dependency>
</dependencies>

2. Develop 2 class to implement below 2 java Interface.

IExternalPipeSinkWriterFactory
IExternalPipeSinkWriter

Note: Please refer to example codes in example/ext-pipe-plugin-example .

3. build project and get plugin's xxx.jar file

xxx-jar-with-dependencies.jar

4. install plugin's xxx.jar file to IoTDB

mkdir -p ext/extPipe
cp xxx-jar-with-dependencies.jar  ext/extPipe
nohup ./A/sbin/start-server.sh >/dev/null 2>&1