lukewaite / logstash-input-cloudwatch-logs

Input plugin for Logstash to stream events from CloudWatch Logs
Other
142 stars 74 forks source link

Patch related to the autoloading and ruby #15

Closed jamtur01 closed 7 years ago

jamtur01 commented 7 years ago

When I run the plugin on Logstash 5.2.2 I see:

Aws::Client::Errors isn't found

I did some exploring and found the S3 plugins had some similar issues. This was their fix.

The fix exist in jruby 9k but not in the current jruby, not sure when or
it will be backported https://github.com/jruby/jruby/issues/3645

AWS is doing tricky name discovery in the module to generate the correct
error class and this strategy is bogus in jruby and `eager_autoload`
don't fix this issue.

This will be a short lived patch since AWS is removing the need.  see:
https://github.com/aws/aws-sdk-ruby/issues/1301#issuecomment-261115960
lukewaite commented 7 years ago

Thanks, @jamtur01!

lukewaite commented 7 years ago

Released asv0.9.4