mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -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
|
allows you to make more informed decisions about when and where to use the
|
||||||
functionality provided by the new plugin.
|
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
|
## Experimental
|
||||||
|
|
||||||
When a plugin is in the `experimental` state, it is essentially untested. This
|
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
|
def validate_plugin_status
|
||||||
docmsg = "For more information about plugin statuses, see http://logstash.net/docs/#{LOGSTASH_VERSION}/plugin-status "
|
docmsg = "For more information about plugin statuses, see http://logstash.net/docs/#{LOGSTASH_VERSION}/plugin-status "
|
||||||
case @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"
|
when "experimental"
|
||||||
@logger.warn("Using experimental plugin '#{@config_name}'. This plugin is untested and may change in the future. #{docmsg}")
|
@logger.warn("Using experimental plugin '#{@config_name}'. This plugin is untested and may change in the future. #{docmsg}")
|
||||||
when "beta"
|
when "beta"
|
||||||
|
|
|
@ -17,7 +17,7 @@ require "logstash/namespace"
|
||||||
class LogStash::Inputs::Amqp < LogStash::Inputs::Threadable
|
class LogStash::Inputs::Amqp < LogStash::Inputs::Threadable
|
||||||
|
|
||||||
config_name "amqp"
|
config_name "amqp"
|
||||||
plugin_status "beta"
|
plugin_status "unsupported"
|
||||||
|
|
||||||
# Your amqp broker's custom arguments. For mirrored queues in RabbitMQ: [ "x-ha-policy", "all" ]
|
# Your amqp broker's custom arguments. For mirrored queues in RabbitMQ: [ "x-ha-policy", "all" ]
|
||||||
config :arguments, :validate => :array, :default => []
|
config :arguments, :validate => :array, :default => []
|
||||||
|
|
|
@ -15,7 +15,7 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
|
||||||
MQTYPES = [ "fanout", "direct", "topic" ]
|
MQTYPES = [ "fanout", "direct", "topic" ]
|
||||||
|
|
||||||
config_name "amqp"
|
config_name "amqp"
|
||||||
plugin_status "beta"
|
plugin_status "unsupported"
|
||||||
|
|
||||||
# Your amqp server address
|
# Your amqp server address
|
||||||
config :host, :validate => :string, :required => true
|
config :host, :validate => :string, :required => true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue