karafka-testing 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/karafka/testing/rspec/helpers.rb +3 -5
- data/lib/karafka/testing/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 053ac6d1b86ca621030d7d73ad5e8c629a8b3c4ebf05c83ab89646772edf6565
|
4
|
+
data.tar.gz: 3c8182120690c121f41ea395ddef68b35ef18af9a4a448b106dc1efbd45cb5d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dc3c9437a06c83b85329170d670172152b17c0057b6a40655630032d885f7a743306eaafdd737ac7a65db4a0a9aa3da2d53f2aac2659587a31b8b3e9a3cb16e
|
7
|
+
data.tar.gz: 67cbaef664caedeadb54cd8fa1ccc3be917fbc17f5cfe34b22a1ad8ee259937f652de68e16dc870ef7b490f66ec16856d2de3f3e841075ad17620725e041f329
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Karafka Test gem changelog
|
2
2
|
|
3
|
+
## 2.1.4 (2023-06-20)
|
4
|
+
- [Fix] Fix invalid consumer group assignment for consumers created for non-default consumer group when same topic is being used multiple times.
|
5
|
+
|
3
6
|
## 2.1.3 (2023-06-19)
|
4
7
|
- [Enhancement] Align with Karafka `2.1.5` API.
|
5
8
|
|
data/Gemfile.lock
CHANGED
@@ -72,7 +72,7 @@ module Karafka
|
|
72
72
|
raise Errors::TopicInManyConsumerGroupsError, requested_topic if selected_topics.size > 1
|
73
73
|
raise Errors::TopicNotFoundError, requested_topic if selected_topics.empty?
|
74
74
|
|
75
|
-
_karafka_build_consumer_for(selected_topics.first
|
75
|
+
_karafka_build_consumer_for(selected_topics.first)
|
76
76
|
end
|
77
77
|
|
78
78
|
# Adds a new Karafka message instance if needed with given payload and options into an
|
@@ -165,12 +165,10 @@ module Karafka
|
|
165
165
|
# Builds the consumer instance based on the provided topic
|
166
166
|
#
|
167
167
|
# @param topic [Karafka::Routing::Topic] topic for which we want to build the consumer
|
168
|
-
# @param topics_array [Array<Karafka::Routing::Topic>] all the topics for coordinators
|
169
|
-
# buffer.
|
170
168
|
# @return [Object] karafka consumer
|
171
|
-
def _karafka_build_consumer_for(topic
|
169
|
+
def _karafka_build_consumer_for(topic)
|
172
170
|
coordinators = Karafka::Processing::CoordinatorsBuffer.new(
|
173
|
-
Karafka::Routing::Topics.new(
|
171
|
+
Karafka::Routing::Topics.new([topic])
|
174
172
|
)
|
175
173
|
|
176
174
|
consumer = topic.consumer.new
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka-testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
Qf04B9ceLUaC4fPVEz10FyobjaFoY4i32xRto3XnrzeAgfEe4swLq8bQsR3w/EF3
|
36
36
|
MGU0FeSV2Yj7Xc2x/7BzLK8xQn5l7Yy75iPF+KP3vVmDHnNl
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-06-
|
38
|
+
date: 2023-06-20 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: karafka
|
metadata.gz.sig
CHANGED
Binary file
|