lib/logstash-logger/device.rb in logstash-logger-0.9.0 vs lib/logstash-logger/device.rb in logstash-logger-0.10.0
- old
+ new
@@ -9,10 +9,11 @@
autoload :Socket, 'logstash-logger/device/socket'
autoload :UDP, 'logstash-logger/device/udp'
autoload :TCP, 'logstash-logger/device/tcp'
autoload :Unix, 'logstash-logger/device/unix'
autoload :Redis, 'logstash-logger/device/redis'
+ autoload :Kafka, 'logstash-logger/device/kafka'
autoload :File, 'logstash-logger/device/file'
autoload :IO, 'logstash-logger/device/io'
autoload :Stdout, 'logstash-logger/device/stdout'
autoload :Stderr, 'logstash-logger/device/stderr'
autoload :MultiDelegator, 'logstash-logger/device/multi_delegator'
@@ -54,9 +55,10 @@
when :udp then UDP
when :tcp then TCP
when :unix then Unix
when :file then File
when :redis then Redis
+ when :kafka then Kafka
when :io then IO
when :stdout then Stdout
when :stderr then Stderr
else fail ArgumentError, 'Invalid type'
end