Skip to content

Commit 20678f4

Browse files
authored
pubsub: retry on ABORTED (#2461)
1 parent a8e595d commit 20678f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1

google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/StatusUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public static boolean isRetryable(Throwable error) {
3535
case INTERNAL:
3636
case CANCELLED:
3737
case RESOURCE_EXHAUSTED:
38+
case ABORTED:
3839
return true;
3940
case UNAVAILABLE:
4041
if (statusRuntimeException.getMessage().contains("Server shutdownNow invoked")) {

0 commit comments

Comments
 (0)