fluent-plugin-amqp 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fluent/plugin/in_amqp.rb +3 -2
- data/lib/fluent/plugin/out_amqp.rb +2 -1
- metadata +5 -25
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmVkYjQ4MDliZjRhYzcxNDI5OTBjNDc0NGI2NGM5ZTAzYWViZmE1Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWU5NWE1ZmI4NjIxYmU1YzYzZWU0NzYzNTlhMmY4MmRlMDc4MzUyOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzM2NjVjMTc5YjkzYmM1M2M2ZTQ5NjNjMDI3OWY1NTI4YjZiN2U5NjUyYzcy
|
10
|
+
MjY1MGFhMTU1ZjQzOTdlZTIzNzE0YmYwZmM2NGZkZWZjZTZkMGU1ZGQ1Zjdm
|
11
|
+
MzJjMGRhM2MxNDQ4ODVmNTJhYWM5NjQ2MzUyMGJlN2QzMjFlOTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWJlZTg2ZDcwNTVmYThjYjI3N2EwYzhmODUyM2ExZTA4YzE0OTVhMjVhYTli
|
14
|
+
OTI4ZTdlMjUzNDI2YzVhMjQxZmFiMGEwYmM0ZjNhNThlYjYzODc3MGE5MDY0
|
15
|
+
N2YyZDJlMjRiOWU3MzUwOGM4M2QyNmE0Y2M0M2I1YWZlZGFmMDQ=
|
@@ -18,7 +18,7 @@ module Fluent
|
|
18
18
|
config_param :port, :integer, :default => 5672
|
19
19
|
config_param :ssl, :bool, :default => false
|
20
20
|
config_param :verify_ssl, :bool, :default => false
|
21
|
-
config_param :heartbeat, :integer, :default =>
|
21
|
+
config_param :heartbeat, :integer, :default => 60
|
22
22
|
config_param :queue, :string, :default => nil
|
23
23
|
config_param :durable, :bool, :default => false
|
24
24
|
config_param :exclusive, :bool, :default => false
|
@@ -66,7 +66,8 @@ module Fluent
|
|
66
66
|
|
67
67
|
def run
|
68
68
|
@bunny.start
|
69
|
-
|
69
|
+
@channel = @bunny.create_channel
|
70
|
+
q = @channel.queue(@queue, :passive => @passive, :durable => @durable,
|
70
71
|
:exclusive => @exclusive, :auto_delete => @auto_delete)
|
71
72
|
q.subscribe do |delivery, meta, msg|
|
72
73
|
payload = parse_payload(msg)
|
@@ -42,7 +42,8 @@ module Fluent
|
|
42
42
|
def start
|
43
43
|
super
|
44
44
|
@bunny.start
|
45
|
-
@
|
45
|
+
@channel = @bunny.create_channel
|
46
|
+
@exch = @channel.exchange(@exchange, :type => @exchange_type.intern,
|
46
47
|
:passive => @passive, :durable => @durable,
|
47
48
|
:auto_delete => @auto_delete)
|
48
49
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiromi Ishii
|
@@ -18,48 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.12.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.12.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bunny
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
36
|
-
- - <
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: '2.0'
|
35
|
+
version: 2.2.0
|
39
36
|
type: :runtime
|
40
37
|
prerelease: false
|
41
38
|
version_requirements: !ruby/object:Gem::Requirement
|
42
39
|
requirements:
|
43
40
|
- - ~>
|
44
41
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
46
|
-
- - <
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '2.0'
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: amq-protocol
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - <
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '2.0'
|
56
|
-
type: :runtime
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - <
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '2.0'
|
42
|
+
version: 2.2.0
|
63
43
|
- !ruby/object:Gem::Dependency
|
64
44
|
name: shoulda
|
65
45
|
requirement: !ruby/object:Gem::Requirement
|