Hi users!
We have released Fluentd version 0.12.19. Here are the changes:
buffer_queue_full_action
parameter: 745oj
when oj is installed in json parser/formatter: 748--msgpack
option: 747buffer_queue_full_action
parameter in buffersBy default, Fluentd's buffer raises BufferQueueLimitError
when buffer queue becomes full. This is fit for streaming manner, e.g. in_forward
returns error response to out_forward
and out_forward
can handle such error.
On the other hand, blocking action instead of raising error is sometimes useful, e.g. in_tail
and out_elasticsearch
for mini-batch use.
To support above 2 cases, we introduce buffer_queue_full_action
parameter in buffers. Currently, there are 2 values.
buffer_queue_full_action exception # default. existing behaviour
buffer_queue_full_action block # block input processing
If you set buffer_queue_full_action block
in buffered output configuration, input blocks emit records until buffer full is resolved.
We support buffer_queue_full_action
but we don't recommend to use block
action first. Please consider improving destination setting to resolve BufferQueueLimitError
or use @ERROR
label for routing overflowed events to another backup destination. If you sometimes hit BufferQueueLimitError
, it means your destination capacity is not fit for your traffic.
Lastly, we are now considering back-pressure support in the future. It will resolve above problem smartly.
oj
for performance improvement when it is installedoj is very fast json library in Ruby. Fluentd uses yajl
by default but if you install oj
in your rubygems, Fluentd uses oj
instead of yajl
for better parsing / formatting performance. Using oj
is 1.5x faster in in_tail case(See PR).
In our tests, there are no big differences between oj
and yajl
. But if you hit some troubles or want to keep to use yajl
, set json_parser yajl
in your plugin configuration.
Lastly, v0.12.19 docker image has also been available on Docker Hub.
Happy logging!
Subscribed to the RSS feed here.
Masahiro (@repeatedly) is the main maintainer of Fluentd. He works on Fluentd development and support full-time. He is also a committer of the D programming language.
Fluentd is an open source data collector to unify log management.
2024-08-29: Scheduled support lifecycle announcement about Fluent Package v6
2023-08-29: Drop schedule announcement about EOL of Treasure Agent (td-agent) 4
2023-08-29: Scheduled support lifecycle announcement about Fluent Package
2023-07-31: Upgrade to fluent-package v5
2025-02-14: fluent-package v5.0.6 has been released
2025-01-29: Fluentd v1.16.7 has been released
2024-12-14: fluent-package v5.2.0 has been released
2024-11-29: Fluentd v1.18.0 has been released
2024-11-08: fluent-package v5.0.5 has been released
2024-08-29: Scheduled support lifecycle announcement about Fluent Package v6
2024-08-20: Fluentd v1.16.6 has been released
2024-08-19: Fluentd v1.17.1 has been released
2024-08-02: fluent-package v5.1.0 has been released
2024-07-02: fluent-package v5.0.4 has been released
Want to learn the basics of Fluentd? Check out these pages.
Couldn't find enough information? Let's ask the community!
You need commercial-grade support from Fluentd committers and experts?
©2010-2025 Fluentd Project. ALL Rights Reserved.
Fluentd is a hosted project under the Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.