Skip to content
Permalink
Browse files
fix: retry streaming subscriber connections on unknown (#92)
* Retrying unknown errors
  • Loading branch information
hannahrogers-google committed Feb 20, 2020
1 parent 20293d1 commit d702a5caa2a1da7a160a449fd91681e38c034afc
Showing with 1 addition and 0 deletions.
  1. +1 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StatusUtil.java
@@ -36,6 +36,7 @@ static boolean isRetryable(Throwable error) {
case CANCELLED:
case RESOURCE_EXHAUSTED:
case ABORTED:
case UNKNOWN:
return true;
case UNAVAILABLE:
// TODO(pongad): check that ApiException propagate message properly.

0 comments on commit d702a5c

Please sign in to comment.