fluent-plugin-kafka 0.1.4 → 0.1.5

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: 12a7a6c9b46188b26eddffb85896388788d5b63b
4
- data.tar.gz: 851a09fe0932c3ec7001d671cac9fded8a707b67
3
+ metadata.gz: 08281169934f59e651e0a601af17ab914d6a72af
4
+ data.tar.gz: 2098afa88314d62e83729aad0b97be02461142a6
5
5
  SHA512:
6
- metadata.gz: 71fa902e08bafcc1f29719246626c0d646d24478b859592b41cd06b38fc3f56d1a72bfd37f5e95891da1397d08cba39d117160aa531763a400186870f0a022d7
7
- data.tar.gz: 1bf5eaa93b4cf5899e9c82951abb58e80d104eb074869a9d63d532e623fe51d61e71137b5706ce0ee4eb9e5c5626f29feef250306ad9b364abbe81db17464d5c
6
+ metadata.gz: b081eb740e9732e4dc919adc9166d3303df020af95bffbc01194e0eac1c477544a4c6c52b94affb71082ff1d8539e83d37e27cd4d0b696983065ba0f0a5433b4
7
+ data.tar.gz: f95855d295f0527f68384d0b636ddae382b767a725fe521f4b6dd9cd3687a16d1ae3c3e0a90429c3b75cd2f088a1168c32e7989bb4b8cb35baee6a868444045f
@@ -12,7 +12,8 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "fluent-plugin-kafka"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = '0.1.4'
15
+ gem.version = '0.1.5'
16
+ gem.add_development_dependency 'test-unit'
16
17
  gem.add_dependency 'fluentd'
17
18
  gem.add_dependency 'poseidon_cluster'
18
19
  gem.add_dependency 'ltsv'
@@ -1,3 +1,4 @@
1
+ require 'fluent/input'
1
2
  module Fluent
2
3
 
3
4
  class KafkaInput < Input
@@ -83,6 +84,7 @@ class KafkaInput < Input
83
84
  end
84
85
 
85
86
  def start
87
+ super
86
88
  @loop = Coolio::Loop.new
87
89
  opt = {}
88
90
  opt[:max_bytes] = @max_bytes if @max_bytes
@@ -118,6 +120,7 @@ class KafkaInput < Input
118
120
  def shutdown
119
121
  @loop.stop
120
122
  @zookeeper.close! if @zookeeper
123
+ super
121
124
  end
122
125
 
123
126
  def run
@@ -1,3 +1,4 @@
1
+ require 'fluent/input'
1
2
  module Fluent
2
3
 
3
4
  class KafkaGroupInput < Input
@@ -75,6 +76,7 @@ class KafkaGroupInput < Input
75
76
  end
76
77
 
77
78
  def start
79
+ super
78
80
  @loop = Coolio::Loop.new
79
81
  opt = {}
80
82
  opt[:max_bytes] = @max_bytes if @max_bytes
@@ -95,6 +97,7 @@ class KafkaGroupInput < Input
95
97
 
96
98
  def shutdown
97
99
  @loop.stop
100
+ super
98
101
  end
99
102
 
100
103
  def run
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hidemasa Togashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-05 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: test-unit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: fluentd
15
29
  requirement: !ruby/object:Gem::Requirement