-
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
NSQ Output plugin #325
NSQ Output plugin #325
Conversation
NSQ output plugin, following the NSQ methodology output is a producer to one instance of NSQD. The go library does not accept array values be default for a Producer. Additionally service discovery is generally done as a consumer. Follows same methodology as Kafka Output without the tag reference.
@jrxFive You've written this based on an outdated version of telegraf. The You should rebase your changes from HEAD, you'll see that the kafka output is quite a bit different too. It should actually simplify the |
@jrxFive Thank you very much for this! It looks good other than needing to be rebased |
Sorry should have done that prior. It's a lot simpler than before :). I'll commit the change soon. |
image: nsqio/nsq | ||
ports: | ||
- "4150:4150" | ||
- "4151:4151" |
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.
What does port 4151 do?
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.
4150 is an TCP listener port, 4151 is for HTTP even though the plugin isnt using that feature should I remove it?
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.
that's fine, you can keep it
removed HTTP listener port in docker compose. Not being used by plugin.
@jrxFive did you run the NSQ docker test? I'm getting a
|
Hmm I ran tests on a Linux VM and directly against a NSQ daemon. Weird I'll try on OSX to reproduce. |
@jrxFive I'm trying to debug, for some reason the NSQ container is not starting for me |
It looks like we're missing the "command", it needs to look like this in docker-compose
|
@jrxFive I'll make the change and merge this |
Ahh good catch! Hmm why didnt this fail on the Circle-CI test? Its using Ubuntu Circle-CI? Wonder why OSX caught that though? |
CircleCI isn't currently running the "long" docker tests, see #293 I need to find some time to get that env working on Circle |
Boy, that became a doozy. I decided to eliminate I never really liked the docker-compose requirement anyways :-) |
NSQ output plugin #309, following the NSQ methodology output is a producer
to one instance of NSQD. The go library does not accept array values. String
default for a Producer. Additionally service discovery is generally
done as a consumer.
Follows same methodology as Kafka Output without the tag reference.