Skip to content

Conversation

@jlacoline
Copy link

Fixes an issue with msgpack not being able to serialize Fluent::EventTime objects.

Without this fix, any timestamp with subsecond precision will loose information after being bufferized, since msgpack will serialize them as integers.

The workaround uses the MessagePackFactory class defined in fluentd: https://github.com/fluent/fluentd/blob/master/lib/fluent/msgpack_factory.rb

Fixes #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keep original timestmap

1 participant