Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. InfluxDB
  3. Java

Java

MITJavainfluxdb-java-2.25

Official Java client library for InfluxDB 1.x, enabling Java applications to write and query time series data.

GitHubGitHub
1.2k stars471 forks0 contributors

What is Java?

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.

Target Audience

Java developers building applications that need to store or analyze time series data, such as monitoring systems, IoT platforms, or financial analytics tools.

Value Proposition

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.

Overview

Java client for InfluxDB

Use Cases

Best For

  • Java applications that need to write metrics or sensor data to InfluxDB
  • Building monitoring dashboards that query time series data from Java backends
  • IoT systems requiring batch ingestion of telemetry data into InfluxDB
  • Financial applications analyzing timestamped data using InfluxQL
  • Migrating existing Java applications to use InfluxDB as a time series database
  • Developing custom data pipelines that interact with InfluxDB 1.x

Not Ideal For

  • Projects using InfluxDB 2.x with its Flux query language
  • Applications migrating to InfluxDB 3.0
  • Teams in polyglot microservices preferring language-agnostic HTTP/REST clients
  • Developers needing out-of-the-box integrations with modern frameworks like Spring Boot without additional configuration

Pros & Cons

Pros

Robust InfluxQL Support

Supports InfluxQL with bind parameters similar to JDBC PreparedStatements, enabling secure and efficient querying directly from Java code, as detailed in the features section.

Flexible Data Ingestion

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.

Performance Batch Writes

Configurable batch operations with jitter, buffer size, and flush intervals optimize throughput for high-volume time series data, demonstrated in the enableBatch example.

Query Builder Convenience

Provides a programmatic query builder akin to ORM tools like Hibernate, simplifying complex InfluxQL construction without manual string concatenation.

Cons

Legacy Version Limitation

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.

Complex Testing Setup

Unit testing requires Docker, as stated in the build requirements, adding overhead for developers who lack Docker access or prefer simpler test environments.

Sparse Advanced Documentation

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.

Frequently Asked Questions

Quick Stats

Stars1,195
Forks471
Contributors0
Open Issues96
Last commit4 months ago
CreatedSince 2014

Tags

#query-builder#batch-processing#java-client#monitoring#database-client#time-series#influxdb#data-ingestion#metrics

Built With

M
Maven
J
Java

Included in

InfluxDB817
Auto-fetched 9 hours ago

Related Projects

PHPPHP

influxdb-php: A PHP Client for InfluxDB, a time series database

Stars426
Forks126
Last commit3 years ago
RubyRuby

Ruby client for InfluxDB

Stars371
Forks132
Last commit4 years ago
C#C#

A .NET library for efficiently sending points to InfluxDB 1.x

Stars198
Forks60
Last commit3 years ago
GoGo

The old clientv2 for InfluxDB 1.x

Stars192
Forks110
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub