-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add NATS consumer input plugin. #680
Conversation
@@ -20,17 +18,17 @@ github.com/gorilla/mux 26a6070f849969ba72b72256e9f14cf519751690 | |||
github.com/hailocab/go-hostpool e80d13ce29ede4452c43dea11e79b9bc8a15b478 | |||
github.com/influxdata/config bae7cb98197d842374d3b8403905924094930f24 | |||
github.com/influxdata/influxdb a9552fdd91361819a792f337e5d9998859732a67 | |||
github.com/influxdata/telegraf 0109320e226130940cd0b999ea529c05cda49a88 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess 'gdm save' shouldn't do this?
@netixen even though I can't validate the PR with testing, I did a quick read and congratulations for the amazing job! I know a lot of NATS users will appreciate this. |
Excellent! Yes -- simplicity and performance are two core philosophies NATS was designed around. Where are you located? There's a NATS meetup in San Francisco next month if you'd like to give lightning talk on your plugin happy to give you some time on the agenda. Likewise, if you're a slack user pop me an email and I can get you into the Slack community. Keep up the good work!!!! B |
### name a queue group | ||
queue_group = "telegraf_consumers" | ||
### Maximum number of points to buffer between collection intervals | ||
point_buffer = 100000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you change point_buffer
to metric_buffer
? I have a PR making this change in the kafka consumer already
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #676
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sparrc Done
thanks @netixen, looks good |
Used the kafka consumer as a blueprint.
More info about NATS