racecar 2.8.1 → 2.8.2.beta

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: 57cb3620129ee81064462c9eaaa5a62aa1e853ce833a3c5caaf92581a37f0589
4
- data.tar.gz: f3be03832ce0451a371139bcb866add561ed428d5a10ac026de6e360cdebd73a
3
+ metadata.gz: af359d8c13a9daeddded0e42a18b5bb2c4eff61d5e534777bf4e9311cbc71697
4
+ data.tar.gz: 6e7245bdbe7892ddb980ebb1be5e71b5dc445002899742688458ad627befc0b2
5
5
  SHA512:
6
- metadata.gz: c0d9c85c05f4b54ff56fd6ae93e009ea7369f432b744c999539750028d93a4249394757cc3ca881f756e6aec7dd2eef915f4af50bfd12ff639856f7f8196aeca
7
- data.tar.gz: 9eaf0c6037606aa964cd1ea1a549bf44dfeba006133bbd7ef64778e7725da804d95bece47b866fb14c0941eab6fb7821c41055f938e14a44112c4e4c6c05b0ae
6
+ metadata.gz: e3dc320d68e7b0444ad6254307589c7ec66b4f56d9f42e53b97b390468e9b2e9583d5bd334a19d515cac2c8ba70b827bbb7ca8b334e2c9a77ec2a9e75706a1da
7
+ data.tar.gz: 768ae226817e083e8b9d11fd6e6dc795eaafd14653a04b38b70d54efe1f47fca89e715ac75270809cf66becca39433ba837f62f14842a71d5dc01b29f8bd0e88
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v2.8.2
6
+ * Changes log level for ErroneousStateError to WARN.
7
+
8
+ ## v2.8.1
9
+ * Adds new ErroneousStateError to racecar in order to give more information on this new possible exception.
10
+
5
11
  ## v2.8.0
6
12
  * Update librdkafka version from 1.8.2 to 1.9.0 by upgrading from rdkafka 0.10.0 to 0.12.0. ([#283](https://github.com/zendesk/racecar/pull/293))
7
13
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- racecar (2.8.1)
4
+ racecar (2.8.2.beta)
5
5
  king_konf (~> 1.0.0)
6
6
  rdkafka (~> 0.12.0)
7
7
 
@@ -50,7 +50,10 @@ module Racecar
50
50
  def store_offset(message)
51
51
  current.store_offset(message)
52
52
  rescue Rdkafka::RdkafkaError => e
53
- raise ErroneousStateError.new(e) if e.code == :state # -172
53
+ if e.code == :state # -172
54
+ @logger.warn "Attempted to store_offset, but we're not subscribed to it: #{ErroneousStateError.new(e)}"
55
+ return
56
+ end
54
57
  raise e
55
58
  end
56
59
 
@@ -25,7 +25,7 @@ module Racecar
25
25
 
26
26
  def to_s
27
27
  <<~EOM
28
- Partition is no longer assigned to this consumer and the offset could not be stored for commit:
28
+ Partition is no longer assigned to this consumer and the offset could not be stored for commit.
29
29
  #{@rdkafka_error.to_s}
30
30
  EOM
31
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Racecar
4
- VERSION = "2.8.1"
4
+ VERSION = "2.8.2.beta"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: racecar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-06-21 00:00:00.000000000 Z
12
+ date: 2022-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: king_konf
@@ -227,9 +227,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
227
227
  version: '2.6'
228
228
  required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  requirements:
230
- - - ">="
230
+ - - ">"
231
231
  - !ruby/object:Gem::Version
232
- version: '0'
232
+ version: 1.3.1
233
233
  requirements: []
234
234
  rubygems_version: 3.0.3
235
235
  signing_key: