logstash-input-beats 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/lumberjack/beats/server.rb +1 -1
- data/logstash-input-beats.gemspec +1 -1
- data/spec/lumberjack/beats/acking_protocol_v2_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 233a88cd60c5306bc73c6577c146cdeb892d3cca
|
4
|
+
data.tar.gz: 3efc27b898d2da6f92cbbf6d8b0cca990c792bdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baed97b8689d61e496b59cca3c4a31635fb967dc0501bcfdd1a67d3e43230a673f6580645086e0d6e2b278503cb6bd5035aed0c17cc9102d7afffccf5a775b61
|
7
|
+
data.tar.gz: ece3c51a188d149786d935bbf3d1a9f2cf7db83d5f9b5ac6dcc736c070f6a4c2cf497cb249e78bfdb85b6d38720ed47c6aabe139c767b0cfad1810338752aff5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
+
# 0.9.2
|
2
|
+
- fix an issue with the incorrectly calculated ack when the window_size was smaller than the ACK_RATIO see https://github.com/logstash-plugins/logstash-input-beats/issues/3
|
3
|
+
|
1
4
|
# 0.9.1
|
2
5
|
- Move the ruby-lumberjack library into the plugin
|
6
|
+
|
3
7
|
# 0.9
|
4
8
|
- Created from `logstash-input-lumberjack` version 2.0.2 https://github.com/logstash-plugins/logstash-input-lumberjack
|
5
9
|
- Use SSL off by default
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "logstash-input-beats"
|
3
|
-
s.version = "0.9.
|
3
|
+
s.version = "0.9.2"
|
4
4
|
s.licenses = ["Apache License (2.0)"]
|
5
5
|
s.summary = "Receive events using the lumberjack protocol."
|
6
6
|
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|
@@ -28,4 +28,13 @@ describe Lumberjack::Beats::AckingProtocolV2 do
|
|
28
28
|
expect(results.count(true)).to eq(1)
|
29
29
|
end
|
30
30
|
end
|
31
|
+
|
32
|
+
context "when the windows size is lower than the ack_ratio" do
|
33
|
+
let(:number_of_events) { 2 }
|
34
|
+
|
35
|
+
it "should return true only once" do
|
36
|
+
expect(results.size).to eq(number_of_events)
|
37
|
+
expect(results.count(true)).to eq(1)
|
38
|
+
end
|
39
|
+
end
|
31
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-beats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|