openconfig / gnmi

gRPC Network Management Interface
Apache License 2.0
470 stars 196 forks source link

gnmi client for subscribe and gnmi server stream to kafka #96

Closed babuveld closed 3 years ago

babuveld commented 3 years ago

Hi,

Can gNMI client be used to just dynamically subscribe for sensor paths and allow gNMI server to send the telemetry data to different destination like kafka?

colinmcintosh commented 3 years ago

Hi @babuveld! You may want to check out gnmi-gateway which has the functionality to dynamically subscribe to target devices and can also send telemetry data to different destinations using Exporters. Here is a link to a pretty basic Kafka Exporter included with gnmi-gateway:

https://github.com/openconfig/gnmi-gateway/blob/release/gateway/exporters/kafka/kafka.go