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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/messaging/adapters/postgres/consumer.rb +11 -0
- data/lib/messaging/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d3d0d1e999021d79c08ce1bcaf43a6add32ca27107e875c2dbcdf44fb598c17
|
4
|
+
data.tar.gz: cc54ac065a44ae2853da4da87b752a44885f7440d15465ac4b6567df176011c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bd056343bde3997159cd5cc1e3073cfc6a5b2e04729595452b67c4a1d7c11b194e539de703c96db5df52486e10523bdb359b0dd8d973a55fbc5209c1f539a20
|
7
|
+
data.tar.gz: d04c60427cc9d53bccb0b003e09f9f7a2371c821599d8e17312b41f1b485f6c045719ae4d38917540f1dd007b20e49152e7031a79b0b7873511dc303b5cca993
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/messaging/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2024-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|