Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 712b315

Browse files
committed
mark deprecated data_timeout option as obsolete
1 parent 823c5a3 commit 712b315

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 6.0.0
2+
- Mark deprecated :data_timeout option as obsolete
3+
14
## 5.0.0
25
- Changed the behaviour of the `host` field to contain the resolved peer hostname for a connection instead of its peer IP
36
and moved the peer's IP to the new field `ip_address`

docs/index.asciidoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,6 @@ input plugins.
9494

9595
 
9696

97-
[id="plugins-{type}s-{plugin}-data_timeout"]
98-
===== `data_timeout` (DEPRECATED)
99-
100-
* DEPRECATED WARNING: This configuration item is deprecated and may not be available in future versions.
101-
* Value type is <<number,number>>
102-
* Default value is `-1`
103-
104-
105-
10697
[id="plugins-{type}s-{plugin}-host"]
10798
===== `host`
10899

lib/logstash/inputs/tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
7373
# When mode is `client`, the port to connect to.
7474
config :port, :validate => :number, :required => true
7575

76-
config :data_timeout, :validate => :number, :default => -1, :deprecated => "This setting is not used by this plugin. It will be removed soon."
76+
config :data_timeout, :validate => :number, :obsolete => "This setting is not used any more."
7777

7878
# Mode to operate in. `server` listens for client connections,
7979
# `client` connects to a server.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
6.0.0

0 commit comments

Comments
 (0)