karafka 2.2.11 → 2.2.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +2 -4
  3. data/CHANGELOG.md +12 -0
  4. data/Gemfile.lock +13 -13
  5. data/config/locales/errors.yml +3 -1
  6. data/docker-compose.yml +1 -1
  7. data/karafka.gemspec +2 -2
  8. data/lib/karafka/connection/client.rb +77 -11
  9. data/lib/karafka/connection/consumer_group_coordinator.rb +3 -3
  10. data/lib/karafka/connection/listener.rb +30 -7
  11. data/lib/karafka/connection/listeners_batch.rb +6 -1
  12. data/lib/karafka/contracts/config.rb +5 -1
  13. data/lib/karafka/helpers/interval_runner.rb +39 -0
  14. data/lib/karafka/instrumentation/notifications.rb +1 -0
  15. data/lib/karafka/instrumentation/vendors/datadog/logger_listener.rb +1 -9
  16. data/lib/karafka/pro/loader.rb +2 -1
  17. data/lib/karafka/pro/processing/coordinator.rb +12 -6
  18. data/lib/karafka/pro/processing/jobs_queue.rb +109 -0
  19. data/lib/karafka/pro/processing/scheduler.rb +2 -3
  20. data/lib/karafka/pro/processing/strategies/default.rb +2 -0
  21. data/lib/karafka/pro/processing/strategies/lrj/default.rb +9 -0
  22. data/lib/karafka/pro/processing/strategies/vp/default.rb +8 -4
  23. data/lib/karafka/processing/coordinator.rb +13 -7
  24. data/lib/karafka/processing/inline_insights/consumer.rb +2 -0
  25. data/lib/karafka/processing/jobs_queue.rb +41 -13
  26. data/lib/karafka/processing/scheduler.rb +19 -3
  27. data/lib/karafka/processing/strategies/default.rb +2 -0
  28. data/lib/karafka/processing/timed_queue.rb +62 -0
  29. data/lib/karafka/routing/builder.rb +32 -17
  30. data/lib/karafka/routing/subscription_group.rb +11 -6
  31. data/lib/karafka/runner.rb +1 -1
  32. data/lib/karafka/setup/config.rb +13 -1
  33. data/lib/karafka/version.rb +1 -1
  34. data/lib/karafka.rb +0 -1
  35. data.tar.gz.sig +0 -0
  36. metadata +9 -6
  37. metadata.gz.sig +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.11
4
+ version: 2.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
36
36
  msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
37
37
  -----END CERTIFICATE-----
38
- date: 2023-11-03 00:00:00.000000000 Z
38
+ date: 2023-11-17 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: karafka-core
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.2.6
46
+ version: 2.2.7
47
47
  - - "<"
48
48
  - !ruby/object:Gem::Version
49
49
  version: 2.3.0
@@ -53,7 +53,7 @@ dependencies:
53
53
  requirements:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 2.2.6
56
+ version: 2.2.7
57
57
  - - "<"
58
58
  - !ruby/object:Gem::Version
59
59
  version: 2.3.0
@@ -63,7 +63,7 @@ dependencies:
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: 2.6.10
66
+ version: 2.6.11
67
67
  - - "<"
68
68
  - !ruby/object:Gem::Version
69
69
  version: 3.0.0
@@ -73,7 +73,7 @@ dependencies:
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 2.6.10
76
+ version: 2.6.11
77
77
  - - "<"
78
78
  - !ruby/object:Gem::Version
79
79
  version: 3.0.0
@@ -181,6 +181,7 @@ files:
181
181
  - lib/karafka/errors.rb
182
182
  - lib/karafka/helpers/async.rb
183
183
  - lib/karafka/helpers/colorize.rb
184
+ - lib/karafka/helpers/interval_runner.rb
184
185
  - lib/karafka/helpers/multi_delegator.rb
185
186
  - lib/karafka/instrumentation/callbacks/error.rb
186
187
  - lib/karafka/instrumentation/callbacks/rebalance.rb
@@ -245,6 +246,7 @@ files:
245
246
  - lib/karafka/pro/processing/jobs/consume_non_blocking.rb
246
247
  - lib/karafka/pro/processing/jobs/revoked_non_blocking.rb
247
248
  - lib/karafka/pro/processing/jobs_builder.rb
249
+ - lib/karafka/pro/processing/jobs_queue.rb
248
250
  - lib/karafka/pro/processing/partitioner.rb
249
251
  - lib/karafka/pro/processing/scheduler.rb
250
252
  - lib/karafka/pro/processing/strategies.rb
@@ -374,6 +376,7 @@ files:
374
376
  - lib/karafka/processing/strategies/dlq_mom.rb
375
377
  - lib/karafka/processing/strategies/mom.rb
376
378
  - lib/karafka/processing/strategy_selector.rb
379
+ - lib/karafka/processing/timed_queue.rb
377
380
  - lib/karafka/processing/worker.rb
378
381
  - lib/karafka/processing/workers_batch.rb
379
382
  - lib/karafka/railtie.rb
metadata.gz.sig CHANGED
Binary file