tree: 6b7027dc0bbc9b532af9f60c8ee35871170ccce2 [path history] [tgz]
  1. .github/
  2. client/
  3. example/
  4. rpc/
  5. .gitignore
  6. go.mod
  7. go.sum
  9. LICENSE-binary
  10. Makefile
  11. NOTICE
  12. NOTICE-binary

English | 中文

Apache IoTDB Client for Go


This is the GoLang client of Apache IoTDB.

Apache IoTDB (Internet of Things Database) is a data management system for time series data, which can provide users specific services, such as, data collection, storage and analysis. Due to its light weight structure, high performance and usable features together with its seamless integration with the Hadoop and Spark ecology, IoTDB meets the requirements of massive dataset storage, high throughput data input, and complex data analysis in the industrial IoT field.

Apache IoTDB website: Apache IoTDB Github:

How to Compile the Client


golang >= 1.13

How to Use the Client (Quick Start)

With go mod

export GO111MODULE=on
export GOPROXY=

mkdir session_example && cd session_example

curl -o session_example.go -L

go mod init session_example
go run session_example.go

Without go mod

# get thrift 0.13.0
go get
cd $GOPATH/src/
git checkout 0.13.0

mkdir -p $GOPATH/src/iotdb-client-go-example/session_example
cd $GOPATH/src/iotdb-client-go-example/session_example

curl -o session_example.go -L
go run session_example.go