Skip to content
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

Add descriptions to in_forward #717

Merged
merged 1 commit into from
Nov 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/fluent/plugin/in_forward.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,20 @@ def initialize
require 'fluent/plugin/socket_util'
end

desc 'The port to listen to.'
config_param :port, :integer, :default => DEFAULT_LISTEN_PORT
desc 'The bind address to listen to.'
config_param :bind, :string, :default => '0.0.0.0'
config_param :backlog, :integer, :default => nil
# SO_LINGER 0 to send RST rather than FIN to avoid lots of connections sitting in TIME_WAIT at src
desc 'The timeout time used to set linger option.'
config_param :linger_timeout, :integer, :default => 0
# This option is for Cool.io's loop wait timeout to avoid loop stuck at shutdown. Almost users don't need to change this value.
config_param :blocking_timeout, :time, :default => 0.5

desc 'Log warning if received chunk size is larger than this value.'
config_param :chunk_size_warn_limit, :size, :default => nil
desc 'Received chunk is dropped if it is larger than this value.'
config_param :chunk_size_limit, :size, :default => nil

def configure(conf)
Expand Down