mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- Add "unsupported" plugin status
- Mark both amqp plugins as 'unsupported'. Seeking a maintainer for both the code and the community support for these plugins.
This commit is contained in:
parent
85be498c79
commit
dc200a94c4
4 changed files with 11 additions and 2 deletions
|
@ -15,6 +15,13 @@ while conveying to the end-user a set of expectations about that plugin. This
|
|||
allows you to make more informed decisions about when and where to use the
|
||||
functionality provided by the new plugin.
|
||||
|
||||
## Unsupported
|
||||
|
||||
This plugin is not supported. It should work, but if you have any problems with
|
||||
it you are unlikely to find any help due to lack of experience in the community.
|
||||
|
||||
Additionally, this label may mean that a plugin has no active maintainer.
|
||||
|
||||
## Experimental
|
||||
|
||||
When a plugin is in the `experimental` state, it is essentially untested. This
|
||||
|
|
|
@ -172,6 +172,8 @@ module LogStash::Config::Mixin
|
|||
def validate_plugin_status
|
||||
docmsg = "For more information about plugin statuses, see http://logstash.net/docs/#{LOGSTASH_VERSION}/plugin-status "
|
||||
case @plugin_status
|
||||
when "unsupported"
|
||||
@logger.warn("Using unsupported plugin '#{@config_name}'. This plugin isn't well supported by the community and likely has no maintainer. #{docmsg}")
|
||||
when "experimental"
|
||||
@logger.warn("Using experimental plugin '#{@config_name}'. This plugin is untested and may change in the future. #{docmsg}")
|
||||
when "beta"
|
||||
|
|
|
@ -17,7 +17,7 @@ require "logstash/namespace"
|
|||
class LogStash::Inputs::Amqp < LogStash::Inputs::Threadable
|
||||
|
||||
config_name "amqp"
|
||||
plugin_status "beta"
|
||||
plugin_status "unsupported"
|
||||
|
||||
# Your amqp broker's custom arguments. For mirrored queues in RabbitMQ: [ "x-ha-policy", "all" ]
|
||||
config :arguments, :validate => :array, :default => []
|
||||
|
|
|
@ -15,7 +15,7 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
|
|||
MQTYPES = [ "fanout", "direct", "topic" ]
|
||||
|
||||
config_name "amqp"
|
||||
plugin_status "beta"
|
||||
plugin_status "unsupported"
|
||||
|
||||
# Your amqp server address
|
||||
config :host, :validate => :string, :required => true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue