this is a good feature. We can add it as a jira task. > If using the enableBatch mode, we need to add some async processing.
yes. ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 王超 <[email protected]> 于2021年3月23日周二 下午3:18写道: > 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 > > 乔嘉林 > 清华大学 软件学院
