InfluxDB v2.5.1 influxdb-client-java 6.7.0 Java POJO Write Read The reading statement throws InfluxException Answer First of all tag in influxdb always is string link Secondly when you get it from influx using influx-client it get it from influxdb as a String and cannot cast to Long. (because under hood java influx client uses long.class.isAssignableFrom(fieldType)) and String is not assiganble for
Tag: influxdb
java.lang.NoSuchFieldError: Companion when using `influx-client-reactive` and `quarkus`
Error occurs when instantiating a client dependency is excluded from quarkus-bom otherwise (3.x.x) is forced and would cause at the same line. trace: Answer This issue led me to think that com.squareup.okio:okio might also play a role here. That Options.of is a call to method in that dependency and not Optional from java. That there is nothing strange here other
InfluxDBIOException: java.net.SocketTimeoutException: timeout
I’m using Influx Db java wrapper and adding data in influx db for every 5 seconds with a retention policy of 30 days. When I’m trying to query the data by sending multiple requests, the timeout exception is seen. Once I clear the db data , the response is received properly. The exception cause points to this line val results