-
Notifications
You must be signed in to change notification settings - Fork 36
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 arguments when declaring an exchange #54
base: main
Are you sure you want to change the base?
Conversation
CI failure is due to dependency to another pull request on logstash-mixin-rabbitmq_connection project |
Added missing mail to CLA. Apologies for the delay (hadn't realized the exact mail was showing in your mail, wrongly assumed the linked mail was another one) |
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.
Thanks for helping improve logstash! I left some comments about the new setting.
Also, this change does not add any tests, so it cannot be merged until there are tests covering it.
@@ -36,9 +36,12 @@ class RabbitMQ < LogStash::Outputs::Base | |||
# Should RabbitMQ persist messages to disk? | |||
config :persistent, :validate => :boolean, :default => true | |||
|
|||
# Additional arguments for the exchange, for example could be the presence of an alternate exchange, ... |
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.
Conflict here -- the :validate => :array
doesn't match up with your default value (a hash).
Also, the documentation for this setting isn't quite enough. Can you detail why a user would want to set this?
Is "arguments" the right word? It feels like it is not specific enough of a word.
Original pull request dates, making sure we take comments into account based on latest version
Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/