ipld-eth-server/vendor/github.com/aristanetworks/goarista/cmd/ockafka
Matt K 293dd2e848 Add vendor dir (#16) (#4)
* Add vendor dir so builds dont require dep

* Pin specific version go-eth version
2018-01-29 13:44:18 -06:00
..
main.go Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
README.md Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00

ockafka

Client for the gRPC OpenConfig service for subscribing to the configuration and state of a network device and feeding the stream to Kafka.

Sample usage

Subscribe to all updates on the Arista device at 10.0.1.2 and stream to a local Kafka instance:

ockafka -addrs 10.0.1.2

Subscribe to temperature sensors from 2 switches and stream to a remote Kafka instance:

ockafka -addrs 10.0.1.2,10.0.1.3 -kafkaaddrs kafka:9092 -subscribe /Sysdb/environment/temperature/status/tempSensor

Start in a container:

docker run aristanetworks/ockafka -addrs 10.0.1.1 -kafkaaddrs kafka:9092

Kafka/Elastic integration demo

The following video demoes integration with Kafka and Elastic using this Logstash instance:

video preview