messaging 4.0.9 → 4.0.10.pre

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: dfa5d444fbee972667c0c86e069d65756c8dfc489a862fb27444bc021cfd70d2
4
- data.tar.gz: 3c642fa38053fa3e598f306d4e821b420165b04a127a8c9df2b7b0cec891b78b
3
+ metadata.gz: 9d3d0d1e999021d79c08ce1bcaf43a6add32ca27107e875c2dbcdf44fb598c17
4
+ data.tar.gz: cc54ac065a44ae2853da4da87b752a44885f7440d15465ac4b6567df176011c1
5
5
  SHA512:
6
- metadata.gz: f9147559561766fdefae21e8476516c7eb2c4d9d65b3b13d5494f24f4b21362b4f38495a4c0e9bc56d87f0364e71e10aab7796874a863ab50e461beaa72b7cd3
7
- data.tar.gz: 12dbcc6f95debb8049cc88a199f816610cbf2bb83d57c7677d4aeb5819cf40cad91675fd93f4a0c06764bef2748c5b562843c33a5078ab7d0a71209b22d70453
6
+ metadata.gz: 2bd056343bde3997159cd5cc1e3073cfc6a5b2e04729595452b67c4a1d7c11b194e539de703c96db5df52486e10523bdb359b0dd8d973a55fbc5209c1f539a20
7
+ data.tar.gz: d04c60427cc9d53bccb0b003e09f9f7a2371c821599d8e17312b41f1b485f6c045719ae4d38917540f1dd007b20e49152e7031a79b0b7873511dc303b5cca993
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- messaging (4.0.7)
4
+ messaging (4.0.9)
5
5
  activerecord
6
6
  activesupport
7
7
  after_transaction
@@ -62,6 +62,17 @@ module Messaging
62
62
  Middleware.run(Config.consumer.middlewares, message) { handle message }
63
63
  self.last_processed_position = message.global_position
64
64
  self.last_processed_transaction_id = message.transaction_id
65
+ rescue StandardError => e
66
+ ExceptionHandler.call(e,
67
+ {
68
+ consumer: name,
69
+ transaction_id: message.transaction_id,
70
+ message: message.inspect
71
+ }
72
+ )
73
+
74
+ sleep 10
75
+ retry if @running
65
76
  end
66
77
 
67
78
  def pause_polling_for_5_s
@@ -1,3 +1,3 @@
1
1
  module Messaging
2
- VERSION = '4.0.9'.freeze
2
+ VERSION = '4.0.10.pre'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.9
4
+ version: 4.0.10.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bukowskis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-07 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord