fluent-plugin-kinesis-aggregation 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 598da3cf12bf09cd4dee81230da479bd41fd6381
4
- data.tar.gz: 1703209d88e7d19b9e6479499fd13c084dc83b6b
3
+ metadata.gz: 9c7aa063d31e8a8d8b373a723b31cb6c284e4bdd
4
+ data.tar.gz: c4ca64341656418dd2e197c6d76d1ee40508c77f
5
5
  SHA512:
6
- metadata.gz: 084cd4970a8907208a234386155e165116643f51467924540dce72e4613150c6f607a62cea633deab7266762c7f47cb1447f1780a720e7e575ff793ed91b7ff2
7
- data.tar.gz: 8e0b5f7defc41d322c32c27c09ac3a381a8a872710fed9ea5993529b8284ef8b6a0adb0ce4d771dc5d2f58455490f3fcb981314d697db6885d06c1b73c528363
6
+ metadata.gz: 52f71d9072671d888c774163a0216651987f248c67f2a0c11dd7709bd3326619355b6a2dc7807e545616d3aa4512eebb8161bcc0c3019c1add4b39e0e0228962
7
+ data.tar.gz: ad1ac4922c2f9e0ef39f9f4e0314b034e6a0c7f925511cab377f28574559018e33b7d0dbafe8acd40728ab884879b705eee274c1033b0f07137b757fde5c6182
data/README.md CHANGED
@@ -23,7 +23,7 @@ However, there are drawbacks:
23
23
 
24
24
  - if you're using this as an aggregator, you will need to tune the
25
25
  buffer size on your sources fairly low such that it is less
26
- that the low buffer_chunk_limit on the aggregator
26
+ than the low buffer_chunk_limit on the aggregator
27
27
  - you have to use a KCL library to ingest
28
28
  - you can't use a calculated partition key (based on the record);
29
29
  essentially, you need to use a random partition key
@@ -17,7 +17,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
17
17
 
18
18
  Gem::Specification.new do |spec|
19
19
  spec.name = "fluent-plugin-kinesis-aggregation"
20
- spec.version = '0.2.2'
20
+ spec.version = '0.2.3'
21
21
  spec.author = 'Atlassian'
22
22
  spec.summary = %q{Fluentd output plugin that sends KPL style aggregated events to Amazon Kinesis.}
23
23
  spec.homepage = "https://github.com/atlassian/fluent-plugin-kinesis-aggregation"
@@ -112,7 +112,7 @@ module FluentPluginKinesisAggregation
112
112
  def write(chunk)
113
113
  records = chunk.read
114
114
  if records.length > FLUENTD_MAX_BUFFER_SIZE
115
- log.error "Can't emit aggregated record of length #{records.length} (more than #{FLUENTD_MAX_BUFFER_SIZE})"
115
+ log.error "Can't emit aggregated #{@stream_name} stream record of length #{records.length} (more than #{FLUENTD_MAX_BUFFER_SIZE})"
116
116
  return # do not throw, since we can't retry
117
117
  end
118
118
 
data/test/helper.rb CHANGED
@@ -28,4 +28,5 @@ require 'test/unit/rr'
28
28
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
29
29
  $LOAD_PATH.unshift(File.dirname(__FILE__))
30
30
  require 'fluent/test'
31
+ require 'fluent/process'
31
32
  require 'fluent/plugin/out_kinesis-aggregation'
@@ -34,7 +34,7 @@ class KinesisOutputTest < Test::Unit::TestCase
34
34
 
35
35
  def create_mock_client
36
36
  client = mock(Object.new)
37
- mock(Aws::Kinesis::Client).new({}) { client }
37
+ mock(Aws::Kinesis::Client).new(anything) { client }
38
38
  return client
39
39
  end
40
40
 
@@ -209,7 +209,7 @@ class KinesisOutputTest < Test::Unit::TestCase
209
209
  Time.parse("2011-01-02 13:14:15 UTC").to_i)
210
210
  client = dont_allow(Object.new)
211
211
  client.put_record
212
- mock(Aws::Kinesis::Client).new({}) { client }
212
+ mock(Aws::Kinesis::Client).new(anything) { client }
213
213
 
214
214
  d.run
215
215
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-kinesis-aggregation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atlassian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-11 00:00:00.000000000 Z
11
+ date: 2017-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  requirements: []
162
162
  rubyforge_project:
163
- rubygems_version: 2.2.2
163
+ rubygems_version: 2.5.2
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Fluentd output plugin that sends KPL style aggregated events to Amazon Kinesis.