lib/logstash-logger/device/kinesis.rb in logstash-logger-0.25.1 vs lib/logstash-logger/device/kinesis.rb in logstash-logger-0.26.0
- old
+ new
@@ -1,5 +1,10 @@
-require 'aws-sdk'
+begin
+ require 'aws-sdk-kinesis'
+rescue LoadError
+ require 'aws-sdk'
+end
+
require 'logstash-logger/device/aws_stream'
module LogStashLogger
module Device
class Kinesis < AwsStream