opentelemetry-instrumentation-ruby_kafka 0.17.0 → 0.18.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
  SHA256:
3
- metadata.gz: '087545993e138641a9314c85f6c6e03e6f259f19274ea7038612a77e3d8a90cf'
4
- data.tar.gz: e8f0c22542c8e49e895c20d2193ccc4eecff3169237f6efeb3ebdeda440facbe
3
+ metadata.gz: 3c197d8f9658380579166a37e44625baeece12899ed428cf9f82c4e451fc2edf
4
+ data.tar.gz: 201ecc2e0eb0c5856b390f7dd4099ae7ce0089be871f15bd0418fff12f6609bc
5
5
  SHA512:
6
- metadata.gz: 1eebd1d2d20db542cfd7dc44be4a0d56819bc2ba3a9e1f792ca506ddc162a94ef8364313cd67ba905b7f22017ca154710399cb29f7fc3eb3b02bf3f27d3814e0
7
- data.tar.gz: ae1782ba4c1598b7b3db9fc1e2f2eee22c6bd5e078f71b6450ab22a9996f8f0e9829f6bc1eca1499581eba45d5f01ffe499e4c6303502971e4b3bad21490dbba
6
+ metadata.gz: 573936f80cf6ff98ad603bb73d86e1a96581c922b1b32195d40168a8fd9b2a9d82984afb2fb0d471673c613f1560d13f1b0f98959f17989f65e2d5c1728721e2
7
+ data.tar.gz: adf455e7acfb9712be7e6fc1db17657bd7aa3dccf489b9af7c155a2733bfc70c011fd80ad60360081b1d8ab1035ad881f06624dc4d475e4a3f1c43b31f09f529
data/CHANGELOG.md CHANGED
@@ -1,13 +1,29 @@
1
1
  # Release History: opentelemetry-instrumentation-ruby_kafka
2
2
 
3
+ ### v0.18.3 / 2021-09-29
4
+
5
+ * FIXED: Use Kafka::VERSION fallback for compatibility
6
+
7
+ ### v0.18.2 / 2021-08-12
8
+
9
+ * DOCS: Update docs to rely more on environment variable configuration
10
+
11
+ ### v0.18.1 / 2021-06-23
12
+
13
+ * (No significant changes)
14
+
15
+ ### v0.18.0 / 2021-05-21
16
+
17
+ * ADDED: Updated API depedency for 1.0.0.rc1
18
+
3
19
  ### v0.17.0 / 2021-04-22
4
20
 
5
21
  * (No significant changes)
6
22
 
7
23
  ### v0.16.0 / 2021-03-17
8
24
 
9
- * FIXED: Example scripts now reference local common lib
10
- * DOCS: Replace Gitter with GitHub Discussions
25
+ * FIXED: Example scripts now reference local common lib
26
+ * DOCS: Replace Gitter with GitHub Discussions
11
27
 
12
28
  ### v0.15.0 / 2021-02-18
13
29
 
@@ -15,15 +31,15 @@
15
31
 
16
32
  ### v0.14.0 / 2021-02-03
17
33
 
18
- * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
34
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
19
35
 
20
- * ADDED: Replace getter and setter callables and remove rack specific propagators
36
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
21
37
 
22
38
  ### v0.13.0 / 2021-01-29
23
39
 
24
- * FIXED: Add minimum gem version for ruby-kafka
25
- * FIXED: Ruby_kafka baggage propagation
26
- * FIXED: Remove unused ruby-kafka events file
40
+ * FIXED: Add minimum gem version for ruby-kafka
41
+ * FIXED: Ruby_kafka baggage propagation
42
+ * FIXED: Remove unused ruby-kafka events file
27
43
 
28
44
  ### v0.12.0 / 2020-12-24
29
45
 
data/README.md CHANGED
@@ -40,6 +40,29 @@ The `opentelemetry-instrumentation-ruby_kafka` gem source is [on github][repo-gi
40
40
 
41
41
  The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
42
42
 
43
+ ### Running Tests
44
+
45
+ Tests in this package require a running instance of Kafka and Zookeeper, which are made available via `docker-compose`:
46
+
47
+ ```bash
48
+ ruby-kafka $> docker-compose up -d kafka
49
+ Creating network "ruby_kafka_default" with the default driver
50
+ Creating ruby_kafka_zookeeper_1 ... done
51
+ Creating ruby_kafka_kafka_1 ... done
52
+ ```
53
+
54
+ The run tests using `rake`
55
+
56
+ ```bash
57
+ ruby-kafka $> bundle exec rake test
58
+ ```
59
+
60
+ To stop the dependent services
61
+
62
+ ```bash
63
+ ruby-kafka $> docker-compose down
64
+ ```
65
+
43
66
  ## License
44
67
 
45
68
  The `opentelemetry-instrumentation-ruby_kafka` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
@@ -22,13 +22,13 @@ module OpenTelemetry
22
22
  end
23
23
 
24
24
  compatible do
25
- gem_version >= MINIMUM_VERSION
25
+ (!gem_version.nil? && gem_version >= MINIMUM_VERSION)
26
26
  end
27
27
 
28
28
  private
29
29
 
30
30
  def gem_version
31
- Gem.loaded_specs['ruby-kafka'].version
31
+ Gem.loaded_specs['ruby-kafka']&.version || Gem::Version.new(Kafka::VERSION)
32
32
  end
33
33
 
34
34
  def require_patches
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module RubyKafka
10
- VERSION = '0.17.0'
10
+ VERSION = '0.18.3'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-ruby_kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.0
19
+ version: 1.0.0.rc3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.17.0
26
+ version: 1.0.0.rc3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-instrumentation-base
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.17.0
33
+ version: 0.18.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.17.0
40
+ version: 0.18.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: appraisal
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.0'
89
+ version: 1.0.0.rc1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.0'
96
+ version: 1.0.0.rc1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-mocks
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -201,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
201
201
  licenses:
202
202
  - Apache-2.0
203
203
  metadata:
204
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.17.0/file.CHANGELOG.html
204
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.18.3/file.CHANGELOG.html
205
205
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/ruby_kafka
206
206
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
207
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.17.0
207
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-ruby_kafka/v0.18.3
208
208
  post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths: