rabbitek 0.3.4 → 0.3.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
  SHA256:
3
- metadata.gz: 0ebd3dc67f3b12e2d57e8fce9b1164b8b652648698d0384c8b5817a07309f6f5
4
- data.tar.gz: 4342ee862ae79fa60d0f343fc579c7d43cd0604ab429473aa61ec8f2e61d8931
3
+ metadata.gz: a36ba46180d4c5e3c28d3d212ff2174c49ef00618f6d49c7defd49ec0768d5ae
4
+ data.tar.gz: 25167637efc19c059e73ff8796a19aef890e961ec3c7c891b2b9aba1429d1ef3
5
5
  SHA512:
6
- metadata.gz: 2d8a600f3c03c8b63d504d6ebb5b7087940e1fe7a75eb2acfd731ea9f3182a5a09d16e7f3c7dd79c331b4737cad2cbafa2e2900d576aa8afb0bf3e663b0a1d62
7
- data.tar.gz: 26e7c61bbb9f12914ba9eb51c6e2a726a0c4ec849158e09ca721fdafe3ff6efa38e70e11a1d7ac0de6c3cd212f6b4320325feb12af72b192b7dd6fabcb24d78a
6
+ metadata.gz: 33d4cfcad4e769c15e556b93ba40e9c779aa16ab739a889bd2ec01728b1c84cae25096a559aaaf687875f792ad43789612903c9c6c3b4e222b5a3ba0d801df68
7
+ data.tar.gz: 22b95c1863b7d22d66c4b9f2eb02a18c734450ac09b3aa999dd6b5f316fa40e45f7f52b101e8924a1c2f2a1e2b8601ba6830b99c4948659825983927c393f421
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
- ## v0.3.3
1
+ ## v0.3.5
2
+
3
+ Bugfix:
4
+ * Fix OpenTracing support when there is no trace_id incoming with job.
5
+
6
+ ## v0.3.4
2
7
 
3
8
  Improvements:
4
9
  * Logging improvement
data/lib/rabbitek/cli.rb CHANGED
@@ -77,7 +77,8 @@ module Rabbitek
77
77
  end
78
78
 
79
79
  def boot_consumers
80
- (1..configuration[:threads]).each_with_object([]) do |_, arr|
80
+ (1..configuration[:threads]).each_with_object([]) do |i, arr|
81
+ debug "Booting thread ##{i}"
81
82
  arr << Starter.new(Rabbitek.bunny_connection, configuration).start
82
83
  end
83
84
  end
@@ -55,7 +55,10 @@ module Rabbitek
55
55
  private
56
56
 
57
57
  def server_references(message_properties)
58
- ::OpenTracing::Reference.follows_from(extract(message_properties))
58
+ ctx = extract(message_properties)
59
+ return unless ctx
60
+
61
+ ::OpenTracing::Reference.follows_from(ctx)
59
62
  end
60
63
 
61
64
  def extract(message_properties)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rabbitek
4
- VERSION = '0.3.4'
4
+ VERSION = '0.3.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boostcom