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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/racecar/consumer_set.rb +4 -1
- data/lib/racecar/erroneous_state_error.rb +1 -1
- data/lib/racecar/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af359d8c13a9daeddded0e42a18b5bb2c4eff61d5e534777bf4e9311cbc71697
|
4
|
+
data.tar.gz: 6e7245bdbe7892ddb980ebb1be5e71b5dc445002899742688458ad627befc0b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/racecar/consumer_set.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/racecar/version.rb
CHANGED
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.
|
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-
|
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:
|
232
|
+
version: 1.3.1
|
233
233
|
requirements: []
|
234
234
|
rubygems_version: 3.0.3
|
235
235
|
signing_key:
|