sbmt-kafka_consumer 2.0.0 → 2.0.1

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: fe979c0a187c1aac9f2f8d571d99801e564912db57b86c8219b569fc3faef5c1
4
- data.tar.gz: af13a117d78170019ee3f0ae0930c5b65c0dd027efa39a46eb51f1a32998f47b
3
+ metadata.gz: 82b69616b7dac9dd0540542764bce3144b2f3b36eb2901b37f557f65fe17c679
4
+ data.tar.gz: 7ddc0fe8fd85e05d4a8a09f999f28c3631407944a8a9710ad8875d69d5321995
5
5
  SHA512:
6
- metadata.gz: 7105c49b6c2ecf06769bb310c9a4bf836aa5cbad1b2ee994860b814b71059b8217610429dada55b408063597e32893b1efb404be11902d22693b37e4233ddb18
7
- data.tar.gz: 2a6195f0db6b8a0a7f9435e6b93745422a97f2238c073598155b0c2d81212891028a67db9029160735754189610a3ab4687c433044c67bf9d6d2b6802bdd1149
6
+ metadata.gz: db53be6ebb32dea838aa24fd887b70ce8af2ef39402e0c8917bda6418c428e9f9f8fade9d6509e653df2f031f2c3c67e2da287ff879ab5cb1eb1ec38711f9c74
7
+ data.tar.gz: 9abc252c843358828a65bd80624c1783bffc2ec7ec45d518f2e22cdc70d8c9666f92cd391814512ea868eb37b228822506689c26bc7035c9249b00d4a17d23ff
data/.rubocop.yml CHANGED
@@ -19,6 +19,8 @@ AllCops:
19
19
  SuggestExtensions: false
20
20
  TargetRubyVersion: 2.7
21
21
  TargetRailsVersion: 5.2
22
+ Exclude:
23
+ - spec/internal/pkg/**/*
22
24
 
23
25
  RSpec/FilePath:
24
26
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
13
13
 
14
14
  ### Fixed
15
15
 
16
+ ## [2.0.1] - 2024-05-08
17
+
18
+ ### Fixed
19
+
20
+ - Limit the Karafka version to less than `2.4` because they dropped the consumer group mapping
21
+
16
22
  ## [2.0.0] - 2024-01-30
17
23
 
18
24
  ### Changed
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/sbmt-kafka_consumer.svg)](https://badge.fury.io/rb/sbmt-kafka_consumer)
2
- [![Build Status](https://github.com/SberMarket-Tech/sbmt-kafka_consumer/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/SberMarket-Tech/sbmt-outbox/actions?query=branch%3Amaster)
2
+ [![Build Status](https://github.com/SberMarket-Tech/sbmt-kafka_consumer/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/SberMarket-Tech/sbmt-kafka_consumer/actions?query=branch%3Amaster)
3
3
 
4
4
  # Sbmt-KafkaConsumer
5
5
 
@@ -19,6 +19,10 @@ And then execute:
19
19
  bundle install
20
20
  ```
21
21
 
22
+ ## Demo
23
+
24
+ Learn how to use this gem and how it works with Ruby on Rails at here https://github.com/SberMarket-Tech/outbox-example-apps
25
+
22
26
  ## Auto configuration
23
27
 
24
28
  We recommend going through the configuration and file creation process using the following Rails generators. Each generator can be run by using the `--help` option to learn more about the available arguments.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sbmt
4
4
  module KafkaConsumer
5
- VERSION = "2.0.0"
5
+ VERSION = "2.0.1"
6
6
  end
7
7
  end
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
 
34
34
  spec.add_dependency "rails", ">= 5.2"
35
35
  spec.add_dependency "zeitwerk", "~> 2.3"
36
- spec.add_dependency "karafka", "~> 2.2"
36
+ spec.add_dependency "karafka", "~> 2.2", "< 2.4" # [Breaking] Drop the concept of consumer group mapping.
37
37
  spec.add_dependency "yabeda", ">= 0.11"
38
38
  spec.add_dependency "anyway_config", ">= 2.4.0"
39
39
  spec.add_dependency "thor"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbmt-kafka_consumer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sbermarket Ruby-Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-27 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -45,6 +45,9 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.2'
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '2.4'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +55,9 @@ dependencies:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
57
  version: '2.2'
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '2.4'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: yabeda
57
63
  requirement: !ruby/object:Gem::Requirement