influxdb-java
influxdb-java copied to clipboard
Is it possible to check whether the records were delivered successfully?
I did not see anything in API or documentation to check whether records were delivered successfully. I see in logs the 200 HTTP status, but from the programming side I want to make some action if records were not delivered successfully (other status or connection timeout). I use writeWithReply method. How to achieve this?
@arn-cpu I don't see an obvious way to do that with writeWithRetry
, but maybe someone here knows.
Maybe this is helpful as well: https://github.com/influxdata/influxdb-java/pull/689
Maybe this is helpful as well: #689
Unfortunately, this handler handles action when queue is unavailable, not when could not write records to database.