Class: Fluent::TcpOutput
- Inherits:
-
StreamOutput
- Object
- Output
- BufferedOutput
- StreamOutput
- Fluent::TcpOutput
- Defined in:
- lib/fluent/plugin/out_stream.rb
Overview
obsolete
Constant Summary
Constants included from Configurable
Configurable::CONFIG_TYPE_REGISTRY
Instance Attribute Summary
Attributes inherited from Output
Attributes included from PluginLoggerMixin
Instance Method Summary collapse
- #configure(conf) ⇒ Object
- #connect ⇒ Object
-
#initialize ⇒ TcpOutput
constructor
A new instance of TcpOutput.
Methods inherited from StreamOutput
#flush_secondary, #format_stream, #write
Methods inherited from BufferedOutput
#before_shutdown, #calc_retry_wait, #emit, #enqueue_buffer, #flush_secondary, #force_flush, #format_stream, #shutdown, #start, #submit_flush, #try_flush, #write_abort
Methods inherited from Output
#secondary_init, #shutdown, #start
Methods included from PluginLoggerMixin
Methods included from PluginId
Methods included from Configurable
#config, included, lookup_type, register_type
Constructor Details
#initialize ⇒ TcpOutput
Returns a new instance of TcpOutput.
88 89 90 91 92 |
# File 'lib/fluent/plugin/out_stream.rb', line 88 def initialize super $log.warn "'tcp' output is obsoleted and will be removed. Use 'forward' instead." $log.warn "see 'forward' section in http://docs.fluentd.org/ for the high-availability configuration." end |
Instance Method Details
#configure(conf) ⇒ Object
97 98 99 |
# File 'lib/fluent/plugin/out_stream.rb', line 97 def configure(conf) super end |
#connect ⇒ Object
101 102 103 |
# File 'lib/fluent/plugin/out_stream.rb', line 101 def connect TCPSocket.new(@host, @port) end |