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

Add support for credentials file to nats_consumer and nats output #7022

Merged
merged 2 commits into from
Feb 20, 2020
Merged

Add support for credentials file to nats_consumer and nats output #7022

merged 2 commits into from
Feb 20, 2020

Conversation

ripienaar
Copy link
Contributor

@ripienaar ripienaar commented Feb 13, 2020

I would like to make some follow up PRs to support some of the modern NATS 2.0 security
features and thought I'd start by updating dependencies first before doing those changes

Required for all PRs:

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

@danielnelson
Copy link
Contributor

Thanks @ripienaar, interested to see the new features, just go ahead and add your changes on top of this changeset and we can merge them in one go.

@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Feb 13, 2020
@ripienaar
Copy link
Contributor Author

@danielnelson OK am about done here, mainly I added credentials which is how clients authenticate to new style NATS accounts system.

Additionally moved away from the now deprecated method of connecting via opts.

@danielnelson danielnelson added this to the 1.14.0 milestone Feb 14, 2020
Copy link
Contributor

@danielnelson danielnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I was unsure from your last comment, was there anything else you wanted to modify first? The only thing I noticed was that we need to get to update nats_consumer README as well.

Comment on lines 12 to 15
# credentials = "/etc/telegraf/nats.creds

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this example to the nats_consumer README?

@ripienaar
Copy link
Contributor Author

I've updated the comments etc, it's ready to merge if you agree

@danielnelson danielnelson merged commit 79ff743 into influxdata:master Feb 20, 2020
@danielnelson danielnelson changed the title update nats dependencies to modern versions Add support for credentials file to nats_consumer and nats output Feb 20, 2020
@ripienaar ripienaar deleted the nats_dependencies branch February 20, 2020 22:59
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants