giraffi / fluent-plugin-amqp

Use AMQP broker to send or receive messages via FluentD
MIT License
15 stars 31 forks source link

Throws uninitialized constant error on Fluent 0.14+ #23

Closed warmfusion closed 8 years ago

warmfusion commented 8 years ago

Errors seen when running on Ruby 2.1.5 with the following fluent plugins installed

fluent-plugin-amqp (0.8.2, 0.8.1) fluent-plugin-elasticsearch (1.6.0) fluent-plugin-forest (0.3.1) fluent-plugin-record-reformer (0.8.2) fluentd (0.14.2) 2016-08-22 16:25:48 +0000 [error]: unexpected error error="uninitialized constant Fluent::Input" ... 2016-08-22 16:29:45 +0000 [error]: unexpected error error="uninitialized constant Fluent::TextParser" Underlying cause;

Fluent doesn't auto include fluent/input or fluent/parser anymore - so need to add to the input and output plugins.

warmfusion commented 8 years ago

See https://github.com/giraffi/fluent-plugin-amqp/pull/24