influxdb-java icon indicating copy to clipboard operation
influxdb-java copied to clipboard

Is it possible to check whether the records were delivered successfully?

Open arn-cpu opened this issue 4 years ago • 3 comments

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 avatar Jul 01 '20 15:07 arn-cpu

@arn-cpu I don't see an obvious way to do that with writeWithRetry, but maybe someone here knows.

russorat avatar Jul 17 '20 16:07 russorat

Maybe this is helpful as well: https://github.com/influxdata/influxdb-java/pull/689

majst01 avatar Jul 21 '20 05:07 majst01

Maybe this is helpful as well: #689

Unfortunately, this handler handles action when queue is unavailable, not when could not write records to database.

arn-cpu avatar Oct 07 '21 14:10 arn-cpu