sneakers-retry 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -0
- metadata +9 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 215faba6d679e887ce2696a62381c9465babd67e
|
|
4
|
+
data.tar.gz: 95819f27a83538e9b4242c912eda1faaf4e394ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 691cd81aaaaad5cd2c0fed1e1e24bcb29b25c5d174463a7d981e298811ee20cf01c3dc17fb8cf3b57e3c9c36f5c4ee4602aa11c8f3f53a90a484e5ac452aead3
|
|
7
|
+
data.tar.gz: 6d49273bda5eb0009f8f2219e52330ef9d04df12a448fd391af85d0e8f9aeecd7c1cb958e941390dc0c1e138cda6357cc3bcef649357b02af2790fa5d469396a
|
data/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Sneakers-Retry
|
|
2
|
+
|
|
3
|
+
A modified retry handler for RabbitMQ and [Sneakers](http://jondot.github.io/sneakers/)
|
|
4
|
+
|
|
5
|
+
A small modification of Sneaker's built-in [Maxretry class](https://github.com/jondot/sneakers/blob/master/lib/sneakers/handlers/maxretry.rb)
|
|
6
|
+
the replacement class is called ```SneakersRetry::Handlers::Maxretry2```
|
|
7
|
+
has the exact same logic, except that when a message fails all retries, this
|
|
8
|
+
handler stores the final failure (the message) in same format as the original message,
|
|
9
|
+
allowing you to use [RabbitMQ's shovel plugin](https://www.rabbitmq.com/shovel.html)
|
|
10
|
+
to manually re-enqueue the messages who failed all retries
|
|
11
|
+
Something that is sometimes needed in production systems
|
|
12
|
+
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sneakers-retry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eetay Natan
|
|
@@ -10,12 +10,17 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2018-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description:
|
|
13
|
+
description: |
|
|
14
|
+
A small modification of Sneaker's built-in Maxretry class
|
|
15
|
+
has the exact same logic, except you can use RabbitMQ's shovel plugin
|
|
16
|
+
to manually re-enqueue the messages which failed all of their retries
|
|
14
17
|
email: eetay2@gmail.com
|
|
15
18
|
executables: []
|
|
16
19
|
extensions: []
|
|
17
|
-
extra_rdoc_files:
|
|
20
|
+
extra_rdoc_files:
|
|
21
|
+
- README.md
|
|
18
22
|
files:
|
|
23
|
+
- README.md
|
|
19
24
|
- lib/sneakers-retry.rb
|
|
20
25
|
- lib/sneakers-retry/handlers/maxretry2.rb
|
|
21
26
|
homepage: https://github.com/eetay/sneakers-retry
|
|
@@ -41,5 +46,5 @@ rubyforge_project:
|
|
|
41
46
|
rubygems_version: 2.6.11
|
|
42
47
|
signing_key:
|
|
43
48
|
specification_version: 4
|
|
44
|
-
summary:
|
|
49
|
+
summary: A retry handler for Sneakers compatible with RabbitMQ move message
|
|
45
50
|
test_files: []
|