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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abd5adf64822c8eefa9b20faf514b0af57414e64
4
- data.tar.gz: a93679512d85b7c038980ce0144dad4c28dc87c6
3
+ metadata.gz: d86a72ae11e23498af47c4a4137eb6ecd9382df9
4
+ data.tar.gz: e34a6d21a79b06b387193d17d087405e8c995cf2
5
5
  SHA512:
6
- metadata.gz: 0af752e4b5d18bc90dfab1fb702af73a092c128c800e53754bba04c16d6f2a6c12492b9f4e528120c97ba087e4b24fa38446534acd31334b503cc177232367d7
7
- data.tar.gz: dae4bcaac46a4b3c2a85ef0f9e0292fec333ed8694eabf25d68cdbe9e4eda63744bf14b2b3dfc3c286d37bd25826815afa4c28d0e4c1b362299b306192b9c217
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/[google-cloud-pubsub)
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
@@ -47,7 +47,8 @@ module Google
47
47
 
48
48
  def chan_args
49
49
  { "grpc.max_send_message_length" => -1,
50
- "grpc.max_receive_message_length" => -1 }
50
+ "grpc.max_receive_message_length" => -1,
51
+ "grpc.keepalive_time_ms" => 300000 }
51
52
  end
52
53
 
53
54
  def chan_creds
@@ -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 and Cancelled.
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)
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Pubsub
19
- VERSION = "0.27.0"
19
+ VERSION = "0.27.1"
20
20
  end
21
21
  end
22
22
  end
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.0
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-08-10 00:00:00.000000000 Z
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.12
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