C++ client library that supports InfluxDB v2

Hi, is there any C++ client library that supports InfluxDB v2? (Hopefully with batch writing for fast performance)

If not, is there any recommendation on how to write one?

@Oren_Shpigel, there is no official C++ client for InfluxDB 2 and, by a simple search, neither any other.

However, InfluxDB 2 server provides a nice REST API. Especially, write is very easy with the simple Line protocol.

You have to take care of:

Advanced features include:

  • Automatic retrying
  • Server backpressure handling

If you would like to wrap your solution to a public library, you can look at existing clients for C#,Java,Go and others to provide similar API.