Hi I’m the one using influxdb v2.7
Write and read data to InfluxDB in Java. 200 to 300 data are bundled and delivered, and my code is as follows.
influxDBClient.getWriteApiBlocking().writePoints(points);
Sometimes while writing I am getting the following error message com.influxdb.exceptions.UnprocessableEntityException: HTTP status code: 422; Message: failure writing points to database: partial write: points beyond retention policy dropped=1
The retention is set to 7 days and the time I passed is the current time. (Today’s date is July 14th)
ex) health,value=“ALIVE” 1689232228000000000
SHOW RETENTION POLICIES, influx bucket list
Now it’s working fine without any problems. Help