-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method msgpack_each #1342
Comments
What the output plugin do you use? |
This is the plugin. It was originally written for 0.10. It worked on 0.14.8 though, and I recently found the article about upgrading plugins for the 0.14 API and was making sure it will be compatible with v1.0 when it gets released. I haven't pushed my changes yet, but I hadn't made any changes to the way the plugin works either so the source on GitHub should be enough I think. |
So I think I figured it out. I needed to override #formatted_to_msgpack_binary to return true. After doing that it works properly |
@Ponyboy47
I am getting following error : [db_clickhouse] got unrecoverable error in primary and no secondary error_class=NoMethodError error="undefined method `[]' for nil:NilClass" this seems to be msgpack related error. any idea on this ? |
I am testing the latest fluentd version (0.14.9) when I ran into the issue. Running on CentOS 7, ruby 2.3
The company I work for is using an output plugin that worked perfectly on 0.14.8, so I'm not sure why this issue is happening in 0.14.9.
When the plugin tries to flush the output I get this error:
the plugin's
format(tag, time, record)
:In the
write(chunk)
:I saw issue 1272 that has the same error, but the version of fluentd I'm running has all the stuff from the commit that solved the issue.
Let me know what additional info you may need.
The text was updated successfully, but these errors were encountered: