shirou / mqforward

MQTT to influxdb forwarder
MIT License
75 stars 24 forks source link

Fails to build - undefined: client.ClientConfig #1

Open dcarter opened 9 years ago

dcarter commented 9 years ago

Home-MacBook:mqforward david$ go install . github.com/shirou/mqforward ./influxdb.go:42: undefined: client.ClientConfig ./influxdb.go:92: ifc.Client.WriteSeriesOverUDP undefined (type client.Client has no field or method WriteSeriesOverUDP) ./influxdb.go:96: ifc.Client.WriteSeries undefined (type client.Client has no field or method WriteSeries) ./influxdb.go:140: undefined: client.Series ./influxdb.go:141: undefined: client.Series ./influxdb.go:156: undefined: client.Series ./influxdb.go:166: undefined: client.Series

dcarter commented 9 years ago

Looking at the commit below, it appears that the influxdb client code that this depends on was deprecated & completely rewritten from the ground up, starting around Jan 22, 2015.

https://github.com/influxdb/influxdb/commit/44d43462cfda8759f2571957a993242ee8abe7c7

shirou commented 9 years ago

Thank you for reporting and trying to use!

I aware the build is failed. But currently influxdb client is under heavily development. I think it's not good idea to change now.

Or, if influxdb will not become concrete, I will move other product such as graphite, elasticsearch or prometheus (https://github.com/prometheus/)