bunny 2.24.0 → 3.0.0
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 -4
- data/lib/bunny/channel.rb +709 -123
- data/lib/bunny/concurrent/exception_accumulator.rb +115 -0
- data/lib/bunny/consumer.rb +2 -11
- data/lib/bunny/cruby/socket.rb +33 -1
- data/lib/bunny/cruby/ssl_socket.rb +41 -0
- data/lib/bunny/delivery_info.rb +22 -16
- data/lib/bunny/exceptions.rb +31 -2
- data/lib/bunny/exchange.rb +25 -13
- data/lib/bunny/get_response.rb +19 -15
- data/lib/bunny/heartbeat_sender.rb +2 -2
- data/lib/bunny/queue.rb +22 -38
- data/lib/bunny/reader_loop.rb +6 -6
- data/lib/bunny/return_info.rb +16 -11
- data/lib/bunny/session.rb +376 -36
- data/lib/bunny/timestamp.rb +1 -1
- data/lib/bunny/topology_recovery_filter.rb +71 -0
- data/lib/bunny/topology_registry.rb +824 -0
- data/lib/bunny/transport.rb +36 -9
- data/lib/bunny/version.rb +1 -1
- data/lib/bunny.rb +1 -1
- metadata +28 -6
- data/lib/bunny/versioned_delivery_tag.rb +0 -30
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 420677d5395cc80a5ca3f5c553d9112ae947afb5d5dfef04f4d6ee95e3256b69
|
|
4
|
+
data.tar.gz: 1305a730a263123d1cdb1aef37725b4021ffd76a26b77166242ecfb3f12f65eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09f98c780d34e755191b9925517f724c1b3009c0de707899d86ad80a98732cc09cbb83f00a4e3bf7c68c9c8e481da21e9ae5c204fbb2c22790f1c70317b01840'
|
|
7
|
+
data.tar.gz: 48c53d2fc69c737d1580e216df84273f18fff9018bdd6355dc439cf837a4f22998dc383088c84bae57eebf1c5476b08b8c7a21fb6fef2dd01c9eec0c4a7b9d63
|
data/README.md
CHANGED
|
@@ -43,11 +43,19 @@ Specific examples:
|
|
|
43
43
|
Web applications that display that information in the real time.
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
## Ports to Other Languages
|
|
47
|
+
|
|
48
|
+
Bunny has inspired a number of other RabbitMQ (AMQP 0-9-1) client libraries
|
|
49
|
+
that closely follow its feature set and API shape, form and ergonomics.
|
|
50
|
+
|
|
51
|
+
* [Swift 6](https://github.com/michaelklishin/bunny-swift)
|
|
52
|
+
|
|
53
|
+
|
|
46
54
|
## Supported Ruby Versions
|
|
47
55
|
|
|
48
56
|
Modern Bunny versions support
|
|
49
57
|
|
|
50
|
-
* CRuby 3.2 through
|
|
58
|
+
* CRuby 3.2 through 4.0 (inclusive)
|
|
51
59
|
* [TruffleRuby](https://www.graalvm.org/ruby/)
|
|
52
60
|
|
|
53
61
|
For environments that use TLS, Bunny expects Ruby installations to use a recent enough OpenSSL version that
|
|
@@ -57,7 +65,7 @@ For environments that use TLS, Bunny expects Ruby installations to use a recent
|
|
|
57
65
|
|
|
58
66
|
Bunny no longer supports JRuby.
|
|
59
67
|
|
|
60
|
-
JRuby users should use [March Hare](
|
|
68
|
+
JRuby users should use [March Hare](https://github.com/ruby-amqp/march_hare), which has a similar API
|
|
61
69
|
and is built on top of the RabbitMQ Java client specifically for JRuby.
|
|
62
70
|
|
|
63
71
|
|
|
@@ -87,7 +95,7 @@ may introduce, e.g. the idempotency of `queue.delete` operations.
|
|
|
87
95
|
To use Bunny in a project managed with Bundler:
|
|
88
96
|
|
|
89
97
|
``` ruby
|
|
90
|
-
gem "bunny", ">=
|
|
98
|
+
gem "bunny", ">= 3.0"
|
|
91
99
|
```
|
|
92
100
|
|
|
93
101
|
### With Rubygems
|
|
@@ -212,7 +220,7 @@ and steps to reproduce (or failing test cases).
|
|
|
212
220
|
## Other Ruby RabbitMQ Clients
|
|
213
221
|
|
|
214
222
|
The other widely used Ruby RabbitMQ client is [March Hare](http://rubymarchhare.info) (JRuby-only).
|
|
215
|
-
It's a mature library that
|
|
223
|
+
It's a mature library that requires RabbitMQ 3.3.x or later.
|
|
216
224
|
|
|
217
225
|
|
|
218
226
|
## Contributing
|