Official Java client library for InfluxDB 1.x, enabling Java applications to write and query time series data.
influxdb-java is the official Java client library for InfluxDB 1.x, enabling Java applications to write, query, and manage time series data in InfluxDB. It solves the problem of programmatically interacting with InfluxDB from Java code, providing a structured API for data operations.
Java developers building applications that need to store or analyze time series data, such as monitoring systems, IoT platforms, or financial analytics tools.
Developers choose this library because it's the official, community-maintained client for InfluxDB 1.x, offering a comprehensive feature set including query builders, batch writes, and multiple data write options with strong performance characteristics.
Java client for InfluxDB
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports InfluxQL with bind parameters similar to JDBC PreparedStatements, enabling secure and efficient querying directly from Java code, as detailed in the features section.
Offers multiple write methods including Data Point objects, annotated POJOs, and line protocol, allowing developers to choose the best approach for their data model, as highlighted in the quick start.
Configurable batch operations with jitter, buffer size, and flush intervals optimize throughput for high-volume time series data, demonstrated in the enableBatch example.
Provides a programmatic query builder akin to ORM tools like Hibernate, simplifying complex InfluxQL construction without manual string concatenation.
Primarily designed for InfluxDB 1.x, with only partial compatibility for 2.x via its API, and the README explicitly points users to other clients for full 2.x or 3.0 support.
Unit testing requires Docker, as stated in the build requirements, adding overhead for developers who lack Docker access or prefer simpler test environments.
The README notes that using line protocol is 'for the braves only,' indicating that advanced features may lack thorough examples or guidance beyond the basic manual.