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

update nsq input plugin to be compatible with latest version 1.0.0-co… #3148

Merged
merged 3 commits into from
Aug 26, 2017
Merged

Conversation

ashtonian
Copy link
Contributor

More info: #3147

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson
Copy link
Contributor

Will this still work with nsq version <1.0?

@ashtonian
Copy link
Contributor Author

nope - how do you want to handle that ? just a version flag default to latest perhaps?

@danielnelson
Copy link
Contributor

Maybe we can autodetect? We could do an optimistic parse, try to parse in latest format then fallback to old format.

@ashtonian
Copy link
Contributor Author

ashtonian commented Aug 21, 2017

This should work. The tests are a bit sloppy but they work- didn't want to make them interdependent and also complicated. Parses new version and then if the version string is empty reverts to the old.

@ashtonian
Copy link
Contributor Author

any update?

@danielnelson danielnelson added this to the 1.4.1 milestone Aug 24, 2017
@danielnelson danielnelson merged commit 0a6541d into influxdata:master Aug 26, 2017
@danielnelson danielnelson modified the milestones: 1.4.0, 1.4.1 Aug 26, 2017
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

Successfully merging this pull request may close these issues.

2 participants