| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Apache IoTDB Extras is a companion repository to the main Apache IoTDB project. It contains examples, integration modules, connectors, and additional tools that extend the functionality of IoTDB.
IoTDB (Internet of Things Database) is a time series database designed specifically for the Internet of Things (IoT) scenarios, with high performance for data ingestion, storage, and querying for time series data.
This repository provides integrations with popular data processing frameworks, visualization tools, and other systems to enhance IoTDB's ecosystem.
This repository includes:
Connectors: Integration modules for various data processing frameworks and systems
IoTDB Collector: Data collection framework for IoTDB
IoTDB Spring Boot Starter: Spring Boot integration for IoTDB
Kubernetes Support
MyBatis Generator: Code generation tools for database access
Metric Scrape: Standalone Prometheus text exposition scraper for the IoTDB table model
Examples: Sample applications and code examples demonstrating the use of IoTDB with various technologies
To build the project from source, follow these steps:
Clone the repository:
git clone https://github.com/apache/iotdb-extras.git
cd iotdb-extrasBuild the project with Maven:
# Build the entire project (includes distributions,iotdb-collector,metric-scrape,mybatis-generator)
mvn clean package -DskipTests
# Or build all
mvn clean package -DskipTests -Pwith-all-connectors,with-examples,with-springboot,with-grafana
The build artifacts will be located in the target directory of each module.
IoTDB-Extras uses Maven profiles to configure different build options. You can combine various profiles to build specific components:
with-springboot: Build Spring Boot integration
mvn clean package -Pwith-springboot -DskipTestswith-examples: Build example applications(Recommended for use in conjunction with Connector Profiles)
mvn clean package -Pwith-examples -DskipTestswith-all-connectors: Build all available connectors (includes Flink, Hadoop, Hive, Spark, Zeppelin. excludes Grafana)
mvn clean package -Pwith-all-connectors -DskipTestswith-spark: Build Spark connectors (includes spark-iotdb-connector, spark-iotdb-table-connector)
mvn clean package -Pwith-spark -DskipTestswith-flink: Build Flink connectors (includes flink-iotdb-connector, flink-sql-iotdb-connector, flink-tsfile-connector)
mvn clean package -Pwith-flink -DskipTestswith-grafana: Build Grafana connectors and plugins
mvn clean package -Pwith-grafana -DskipTests
# (Recommend) If you want to build the Grafana plugin, use:
mvn clean package -Pwith-grafana-plugin -DskipTests
# To build the Grafana connector, use:
mvn clean package -Pwith-grafana-connector -DskipTests
with-hadoop: Build Hadoop connector
mvn clean package -Pwith-hadoop -DskipTestswith-hive: Build Hive connector
mvn clean package -Pwith-hive -DskipTestswith-spark-tsfile: Build Spark TsFile connector (includes spark-tsfile, hadoop)
mvn clean package -Pwith-spark-tsfile -DskipTestswith-zeppelin: Build Zeppelin interpreter
mvn clean package -Pwith-zeppelin -DskipTestsWhen building the examples module, you can use these profiles:
with-springboot: Build Spring Boot examples
mvn clean package -Pwith-examples,with-springboot -DskipTestswith-flink: Build Flink examples
mvn clean package -Pwith-examples,with-flink -DskipTestswith-hadoop: Build Hadoop examples
mvn clean package -Pwith-examples,with-hadoop -DskipTestswith-spark: Build Spark examples
mvn clean package -Pwith-examples,with-spark -DskipTestsYou can combine multiple profiles to build specific components:
# Build Flink and Spark connectors with examples
mvn clean package -Pwith-flink,with-spark,with-examples -DskipTests
# Build a complete distribution with all components
mvn clean package -Pwith-all-connectors,with-examples,with-springboot -DskipTestsThis repository includes a variety of examples demonstrating how to use IoTDB with different technologies:
<dependency>
<groupId>org.apache.iotdb</groupId>
<artifactId>spark-iotdb-table-connector-3.5</artifactId>
</dependency>| Key | Default | Description | Required |
|---|---|---|---|
| iotdb.database | -- | Database name in IoTDB | true |
| iotdb.table | -- | Table name in IoTDB | true |
| iotdb.username | root | Username to access IoTDB | false |
| iotdb.password | root | Password to access IoTDB | false |
| iotdb.urls | 127.0.0.1:6667 | Connection URLs | false |
For detailed usage instructions, please refer to the README files in the specific example directories:
You can also refer to module-specific documentation:
IoTDB components can be run using Docker. For more information, see the Docker documentation.
Apache IoTDB Extras is released under the Apache 2.0 License.
see Join the community for more!
| Back | FazBrowse Home | New Git URL |