logstash-output-kinesis 0.0.5-java → 0.0.6-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/logstash-output-kinesis/version.rb +1 -1
- data/lib/logstash/outputs/kinesis.rb +7 -2
- data/logstash-output-kinesis.gemspec +0 -4
- metadata +4 -20
- data/CHANGELOG.md +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e100ede09db9dd83a8ed889b842f9db7041b95e4
|
4
|
+
data.tar.gz: 288ca7b8a3577c3d4815f9f2812c74b4efe8ae30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59ec38fd9efdbab9b6003c8f8662ec2fd80fe524a50a2238e591ad36c1b9f4d9f7a6374023285974342416e7b95c9758297b10ae52f0e19949c5f80c09eb042c
|
7
|
+
data.tar.gz: 9daeaceae967035fda4fab0ae16bdc84457069d7b64c05af7d2ff60ec9e566c9cc7fecbaac676b0d109e776f46d0a159d2b4ef3e6fa6246315069a150c4bf223
|
data/README.md
CHANGED
@@ -81,6 +81,7 @@ class LogStash::Outputs::Kinesis < LogStash::Outputs::Base
|
|
81
81
|
def teardown
|
82
82
|
@producer.flushSync()
|
83
83
|
@producer.destroy()
|
84
|
+
finished()
|
84
85
|
end
|
85
86
|
|
86
87
|
def create_kpl_config
|
@@ -116,7 +117,11 @@ class LogStash::Outputs::Kinesis < LogStash::Outputs::Base
|
|
116
117
|
end
|
117
118
|
|
118
119
|
def send_record(event, payload)
|
119
|
-
|
120
|
-
|
120
|
+
begin
|
121
|
+
event_blob = ByteBuffer::wrap(payload.to_java_bytes)
|
122
|
+
@producer.addUserRecord(@stream_name, event["[@metadata][partition_key]"], event_blob)
|
123
|
+
rescue => e
|
124
|
+
@logger.warn("Error writing event to Kinesis", :exception => e, :event => event)
|
125
|
+
end
|
121
126
|
end
|
122
127
|
end
|
@@ -24,13 +24,9 @@ Gem::Specification.new do |s|
|
|
24
24
|
"logstash_group" => "output"
|
25
25
|
}
|
26
26
|
|
27
|
-
# Jar dependencies
|
28
|
-
s.requirements << "jar 'com.amazonaws:amazon-kinesis-producer', '0.10.0'"
|
29
|
-
|
30
27
|
s.platform = "java"
|
31
28
|
|
32
29
|
# Gem dependencies
|
33
|
-
s.add_runtime_dependency "jar-dependencies"
|
34
30
|
s.add_runtime_dependency "logstash-core", ">= 1.4.0", "< 2.0.0"
|
35
31
|
s.add_runtime_dependency "logstash-codec-plain"
|
36
32
|
s.add_runtime_dependency "logstash-codec-json"
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-kinesis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Sam Day
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
requirement: !ruby/object:Gem::Requirement
|
15
|
-
requirements:
|
16
|
-
- - '>='
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: '0'
|
19
|
-
name: jar-dependencies
|
20
|
-
prerelease: false
|
21
|
-
type: :runtime
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
requirement: !ruby/object:Gem::Requirement
|
29
15
|
requirements:
|
@@ -112,7 +98,6 @@ files:
|
|
112
98
|
- .rspec
|
113
99
|
- .ruby-version
|
114
100
|
- .travis.yml
|
115
|
-
- CHANGELOG.md
|
116
101
|
- Gemfile
|
117
102
|
- LICENSE
|
118
103
|
- README.md
|
@@ -161,10 +146,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
146
|
- - '>='
|
162
147
|
- !ruby/object:Gem::Version
|
163
148
|
version: '0'
|
164
|
-
requirements:
|
165
|
-
- jar 'com.amazonaws:amazon-kinesis-producer', '0.10.0'
|
149
|
+
requirements: []
|
166
150
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.4.8
|
168
152
|
signing_key:
|
169
153
|
specification_version: 4
|
170
154
|
summary: This output plugin sends records to Kinesis using the Kinesis Producer Library (KPL)
|
data/CHANGELOG.md
DELETED