Open dwoo4dwoo opened 6 years ago
@dwoo4dwoo Could you send a PR to fix this issue? Or you want to help me to fix this issue?
@cosmo0920 - according to https://docs.fluentd.org/v0.14/articles/plugin-update-from-v12:
Plugins which uses v0.14 API don’t work on Fluentd v0.12.x.
So your changes to support v0.14 definitely break v0.12. There must be something wrong with the gemspec, since I can install fluent-plugin-sqs-2.1.0 with fluentd v0.12, and this combination will never work.
@ixixi - the same doc https://docs.fluentd.org/v0.14/articles/plugin-update-from-v12 recommends creating a fluentd-v0.12
branch so you're able to fix bugs and release features for v0.12. Or did you intentionally abandon v0.12?
Also, according to https://docs.fluentd.org/v0.12/articles/plugin-development#plugin-versioning-policy, the major version should have changed when moving to v0.14. It's not at all intuitive that 2.0.0 works with v0.12 whereas 2.1.0 breaks v0.12.
For now, I'm going to hardcode using fluent-plugin-sqs v2.0.0, so I get v2 of the AWS SDK.
It'd also be nice to have something akin to https://github.com/uken/fluent-plugin-elasticsearch#requirements in README.md.
Patch is welcomed.
Meh, I didn't break it, I'm not going to fix it :-)
But you've hit this issue and reported first. It is enough reason to fix it, though. :-P
For now, I'm going to hardcode using fluent-plugin-sqs v2.0.0, so I get v2 of the AWS SDK.
Sigh, I'm now hitting https://github.com/ixixi/fluent-plugin-sqs/issues/30, so I'm going back to v1.8.0 which I know works.
https://github.com/ixixi/fluent-plugin-sqs/pull/36 will fix this issue. Thank you for your report.
36 will fix this issue.
Awesome - thanks @cosmo0920 !
Hello,
The latest fluent-plugin-sqs-2.1.0 breaks td-agent-2.3.5. See below. fluent-plugin-sqs-2.0.0 is fine.
I see commits by @cosmo0920 to support v0.14; however, the gemspec implies this should still work for v0.12.
David