This topic helps you quickly connect to and use the Lindorm time series engine (LindormTSDB).
Procedure
The following figure shows the steps that you need to perform to develop your application by using LindormTSDB.
Create a Lindorm instance. When you create the instance, specify the node specification and the number of nodes for LindormTSDB. For more information, see Create an instance.
Configure a whitelist for the instance. For more information, see Configure whitelists.
(Recommended) Enable the user authentication and permission verification feature for the instance. For more information, see User and permission management.
(Optional) If you want to connect to LindormTSDB by using a public endpoint, apply for a public endpoint for LindormTSDB. For more information, see View the endpoints of LindormTSDB.
Connect to LindormTSDB. The following table describes the methods that can be used to connect to LindormTSDB, the scenarios of the connection methods, and the documentation related to the connection methods.
Connection method
Scenario
Reference
Connection method
Scenario
Reference
Lindorm-cli
N/A
LindormTSDB SDK for Java
LindormTSDB SDK for Java provides efficient and easy-to-use operations to manage underlying connections, write data in batches, and retry requests. In addition, LindormTSDB SDK for Java optimizes the encoding method for data transmission to improve write efficiency. We recommend that you use LindormTSDB SDK for Java to write data to LindormTSDB.
Tutorial: Use LindormTSDB SDK for Java to connect to and use LindormTSDB
JDBC Driver
The Java Database Connectivity (JDBC) API is used in the code of your application to connect to various heterogeneous databases.
An object-relational mapping (ORM) framework for data access such as MyBatis is included in the code of your application.
Tutorial: Use the JDBC driver for Lindorm to connect to and use LindormTSDB
HTTP API SQL
If you develop non-Java applications, you can directly use the HTTP-based API to send SQL statements to LindormTSDB.
InfluxDB line protocol
LindormTSDB is compatible with the format defined by the InfluxDB line protocol. For more information, see Line Protocol. You can use applications or devices that support the InfluxDB line protocol to write data to LindormTSDB.
Develop your applications for various purposes, such as data modeling, data writing, data query, data pre-downsampling, and machine learning. For more information, see Developer guide.