mguindin / tail-kafka

Utility to tail a file and push each new line into a kafka topic
17 stars 3 forks source link

Error when running go get #1

Open kisienya opened 7 years ago

kisienya commented 7 years ago

Much appreciate this tool

I am using go version go1.7.4 linux/amd64

When I run this command go get -v github.com/mguindin/tail-kafka I get github.com/ActiveState/tail src/github.com/ActiveState/tail/tail.go:195: cannot use &tail.Tomb (type "github.com/ActiveState/tail/vendor/gopkg.in/tomb.v1".Tomb) as type "github.com/hpcloud/tail/vendor/gopkg.in/tomb.v1".Tomb in argument to tail.watcher.BlockUntilExists src/github.com/ActiveState/tail/tail.go:344: cannot use &tail.Tomb (type "github.com/ActiveState/tail/vendor/gopkg.in/tomb.v1".Tomb) as type "github.com/hpcloud/tail/vendor/gopkg.in/tomb.v1".Tomb in argument to tail.watcher.ChangeEvents

mguindin commented 7 years ago

This code was written before Go 1.6 and before the vendor experiment, so some dependencies have changed during that time. I've been very busy, but if I get time I'll try to update this. Otherwise, feel free to leave a Pull Request with the updated code and dependencies.

kisienya commented 7 years ago

Many thanks, I will try to find time

davidsteed commented 7 years ago

Same problem - any clues to what we need to do to fix

arfordweb commented 7 years ago

Same issue here. 😞