Can't connecting to nsqd
I deployed vFlow on Kubernetes for NetFlow traffic monitoring, but the vFlow pod logs indicate it cannot connect to NSQ due to the absence of the mq.conf file. Upon checking the vFlow ConfigMap, I found that /etc/vflow contains only vflow.conf and lacks mq.conf. How can I resolve this issue?
You can check the documentation here. https://github.com/Edgio/vflow/blob/master/docs/config.md
Here you have a example of mq.conf for Kafka
brokers: - 192.168.0.1:9092 client-id: vflow compression: gzip max-attempts: 10 queue-size: 104857 batch-size: 5 keepalive: 10000 connect-timeout: 20000 required-acks: 1 pflush: 1
For Nsq is more simpler, it seems that you just need to set the server url
Finally, put the file in the same folder as vflow.conf and in the vflow.conf set the mq-name to nsq