clickhouse-bulk: Bulk inserting is not working

Hi, first of all, thank your making clickhouse-bulk 💐

I am running with this config

{
  "listen": ":8125",
  "flush_count": 10000,
  "flush_interval": 3000,
  "debug": true,
  "dump_dir": "dumps",
  "clickhouse": {
    "down_timeout": 300,
    "servers": [
      "http://127.0.0.1:8123"
    ]
  }
}

Shouldn’t this config collect and insert incoming requests in every 3 seconds, in bulk? I am watching logs and seeing every insert I send via HTTP (I am doing insert by python’s requests) being processed immediately as I send. What am I doing wrong?

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 22 (9 by maintainers)

Most upvoted comments

It’s because you send multi line query. At now clickhouse-bulk supports only single line queries. I try to fix in next release

Thanks, looking forward to the new release! Do you have a date in mind?