dz
dz copied to clipboard
Upgrade InfluxDB client from influxdb-java to influxdb-client-java
Background
- influxdb-java library allows to talk to InfluxDB server up to v1.7 and below - this was the version of choice at the time InfluxDB was accepted as a metrics target here;
- Since then, server versions 1.8 and above have rolled out, and influxdb-client-java is the client to connect to them.
Corrective Action
Upgrade the client to com.influxdb:influxdb-client-java:3.2.0+
.
This is not a drop-in replacement.