Closed raytung closed 1 year ago
Thanks @cosmo0920 for helping out on this issue - I believe this is a confluent of issues, and there's a bug with Faraday and its adaptor in Ruby 2.7 (which I've jotted down in the linked issue). I don't think we could drop Ruby 2.7 support at the moment since the latest official Fluentd docker image is running on Ruby 2.7. Interested to hear your thoughts on this one.
From the official Fluentd docker image, we already moved to use Ruby 3.1 instead of 2.7. The left things are still using docker official image that is using Ruby 2.7: https://github.com/docker-library/official-images/blob/381271cfcf579d69b2a1410594e2926f865d38df/library/fluentd#L6 which is based on https://github.com/fluent/fluentd-docker-image/commit/a9e4cee765c7aaf7876d6fe3282aa565dbcdc2a4.
@cosmo0920 ah yes of course, I must be blind. Sounds like this fix should work (if all the tests pass). Thanks for your help!
Then, CI should be green. Here we go! 🚀
@kenhys @ashie Could you release the new version of this plugin if needed? Not in a hurry.
I see, thanks!
FYI: Docker library image of Fluentd is now updated to use v1.16.0 and Ruby 2.7 images are completely gone! https://github.com/docker-library/official-images/pull/14393
DESCRIPTION HERE
(check all that apply)
version
in gemspec are untouchedelasticsearch_dynamic
(not required but recommended)