lib/logstash/outputs/redis.rb in logstash-output-redis-2.0.5 vs lib/logstash/outputs/redis.rb in logstash-output-redis-3.0.0

- old
+ new

@@ -19,11 +19,10 @@ config_name "redis" default :codec, "json" # Name is used for logging in case there are multiple instances. - # TODO: delete config :name, :validate => :string, :default => 'default', :deprecated => true # The hostname(s) of your Redis server(s). Ports may be specified on any # hostname, which will override the global port config. @@ -50,20 +49,17 @@ # Password to authenticate with. There is no authentication by default. config :password, :validate => :password # The name of the Redis queue (we'll use RPUSH on this). Dynamic names are # valid here, for example `logstash-%{type}` - # TODO: delete config :queue, :validate => :string, :deprecated => true # The name of a Redis list or channel. Dynamic names are # valid here, for example `logstash-%{type}`. - # TODO set required true config :key, :validate => :string, :required => false # Either list or channel. If `redis_type` is list, then we will set # RPUSH to key. If `redis_type` is channel, then we will PUBLISH to `key`. - # TODO set required true config :data_type, :validate => [ "list", "channel" ], :required => false # Set to true if you want Redis to batch up values and send 1 RPUSH command # instead of one command per value to push on the list. Note that this only # works with `data_type="list"` mode right now.