Use chunked transfer encoding in InfluxDB output (#3307)

(cherry picked from commit cce40c515a)
This commit is contained in:
Daniel Nelson
2017-10-05 16:14:21 -07:00
committed by Daniel Nelson
parent 3c9d7db0a0
commit 4301b8e32a
6 changed files with 52 additions and 211 deletions

View File

@@ -4,13 +4,7 @@ import "io"
type Client interface {
Query(command string) error
Write(b []byte) (int, error)
WriteWithParams(b []byte, params WriteParams) (int, error)
WriteStream(b io.Reader, contentLength int) (int, error)
WriteStreamWithParams(b io.Reader, contentLength int, params WriteParams) (int, error)
WriteStream(b io.Reader) error
Close() error
}