Skip to content

How to do batch write with block api? #174

@lonelyleaf

Description

@lonelyleaf

Proposal:
batch write data with block api

Use case:
I need import data from file and batch write with block api,but I notice that although WriteApiBlocking.writePoints( String bucket, String org, List<Point> points) accept collection of points,but the implementation of it write data one by one,which is too slow in my use case.

batch-write

By the way, when I tried your non-blocking api,sometime it create too many TIMED_WAITING thread,and casue oom finally.

threaddump-1604541290817.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions