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

How to setup timeout in InfluxQLQueryApi?

Open rts-gordon opened this issue 2 years ago • 0 comments
trafficstars

Hi there,

I make a QLQuery API like this, does any one know how to setup timeout parameters like "makeWriteApi", or there is no way to do this in "QLQueryApi" at all? Thanks a lot.

    // InfluxQL query API
    qlQueryApi = influxDBClient.getInfluxQLQueryApi();

makeWriteApi:

        writeApi = influxDBClient.makeWriteApi(WriteOptions.builder()
                .batchSize(5000)
                .retryInterval(10000)
                .build());

rts-gordon avatar Jul 26 '23 00:07 rts-gordon