fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

plugin_helper/server: Add receive_buffer_size parameter in transport section

Open Watson1978 opened this issue 1 year ago • 3 comments

Which issue(s) this PR fixes: Fixes #

What this PR does / why we need it: This patch will allow to adjust receive buffer size of UDP socket like in_udp plugin. Related to https://github.com/fluent/fluentd/pull/1789

Docs Changes: https://github.com/fluent/fluentd-docs-gitbook/pull/518

Release Note:

Watson1978 avatar Sep 27 '24 00:09 Watson1978

Thanks! Is this only for UDP? Is there any reason?

daipom avatar Sep 27 '24 05:09 daipom

Make sense. I just referred to the in_udp plugin... I might need to add receive_buffer_size parameter in in_tcp plugin too.

Watson1978 avatar Sep 27 '24 05:09 Watson1978

I see! Should this be server helper's option so that all plugins using the helper can use this option?

SO_LINGER Example:

  • https://github.com/fluent/fluentd/pull/3644

daipom avatar Sep 27 '24 05:09 daipom