google-cloud-pubsub 0.27.0 → 0.27.1
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 +1 -1
- data/lib/google/cloud/pubsub/service.rb +2 -1
- data/lib/google/cloud/pubsub/subscriber/stream.rb +4 -2
- data/lib/google/cloud/pubsub/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d86a72ae11e23498af47c4a4137eb6ecd9382df9
|
|
4
|
+
data.tar.gz: e34a6d21a79b06b387193d17d087405e8c995cf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c88a3987a5bac8329cbf89dde504a3c7f74a52f5ad2d0e0557bf9bff83e57dc869965f90b03829f66de54031b5693a52a9c6ceb0a8a24fb2f7d85d9ed9767c75
|
|
7
|
+
data.tar.gz: e03c8e11e8a5f30c738e3fd3a1ca97d99407a6ea6fcba7c1dba206763164ec2f11c83f5e48cfd79de7af0ebdacccd6f25ef8dff55609d0099a7f06d4d6cd1bd8
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[Google Cloud Pub/Sub](https://cloud.google.com/pubsub/) ([docs](https://cloud.google.com/pubsub/docs/reference/rest/)) is designed to provide reliable, many-to-many, asynchronous messaging between applications. Publisher applications can send messages to a “topic” and other applications can subscribe to that topic to receive the messages. By decoupling senders and receivers, Google Cloud Pub/Sub allows developers to communicate between independently written applications.
|
|
4
4
|
|
|
5
5
|
- [google-cloud-pubsub API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-pubsub/latest)
|
|
6
|
-
- [google-cloud-pubsub on RubyGems](https://rubygems.org/gems/
|
|
6
|
+
- [google-cloud-pubsub on RubyGems](https://rubygems.org/gems/google-cloud-pubsub)
|
|
7
7
|
- [Google Cloud Pub/Sub documentation](https://cloud.google.com/pubsub/docs)
|
|
8
8
|
|
|
9
9
|
## Quick Start
|
|
@@ -199,11 +199,13 @@ module Google
|
|
|
199
199
|
break
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
|
-
rescue GRPC::DeadlineExceeded, GRPC::Unavailable, GRPC::Cancelled
|
|
202
|
+
rescue GRPC::DeadlineExceeded, GRPC::Unavailable, GRPC::Cancelled,
|
|
203
|
+
GRPC::ResourceExhausted, GRPC::Internal
|
|
203
204
|
# The GAPIC layer will raise DeadlineExceeded when stream is opened
|
|
204
205
|
# longer than the timeout value it is configured for. When this
|
|
205
206
|
# happends, restart the stream stealthly.
|
|
206
|
-
# Also stealthly restart the stream on Unavailable
|
|
207
|
+
# Also stealthly restart the stream on Unavailable, Cancelled,
|
|
208
|
+
# ResourceExhausted, and Internal.
|
|
207
209
|
synchronize { start_streaming! }
|
|
208
210
|
rescue => e
|
|
209
211
|
fail Google::Cloud::Error.from_error(e)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-pubsub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.27.
|
|
4
|
+
version: 0.27.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Moore
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-cloud-core
|
|
@@ -272,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
272
272
|
version: '0'
|
|
273
273
|
requirements: []
|
|
274
274
|
rubyforge_project:
|
|
275
|
-
rubygems_version: 2.6.
|
|
275
|
+
rubygems_version: 2.6.14
|
|
276
276
|
signing_key:
|
|
277
277
|
specification_version: 4
|
|
278
278
|
summary: API Client library for Google Cloud Pub/Sub
|