- Install Golang at https://golang.org/
- Kafka
Your source code MUST be in folder $GOPATH/src/log-collector
Copy file config.go.example to config.go and update it
cd $GOPATH/src/log-collectorgo getto pull all needed libraries- Just use command
go buildand run binary file./log-collector - Or using command
go run main.go