Hi, Jialin
I think enable batch interface is risky. In some cases, some data may be lost. When users use this interface, they will accept the risk of partial data loss in some cases. As for insertRecords, user need to cache data by themselves, it is not friendly enough. You could see the logic about batch write in https://github.com/influxdata/influxdb-java/blob/master/src/main/java/org/influxdb/impl/BatchProcessor.java. Chao Wang BONC, Ltd [email protected] On 3/23/2021 14:57,Jialin Qiao<[email protected]> wrote: Hi, Could the insertRecords interface meet the requirement? If using the enableBatch mode, we need to add some async processing. Thanks, -- Jialin Qiao School of Software, Tsinghua University 乔嘉林 清华大学 软件学院
