Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connecting to nsqd #195

Open
YuqiangChi opened this issue Feb 19, 2024 · 1 comment
Open

Can't connecting to nsqd #195

YuqiangChi opened this issue Feb 19, 2024 · 1 comment

Comments

@YuqiangChi
Copy link

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?

@vpease
Copy link

vpease commented Feb 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants