Skip to content

Commit 58e4422

Browse files
Google APIscopybara-github
authored andcommitted
feat: Make INTERNAL a retryable error for Pull
PiperOrigin-RevId: 510255779
1 parent 7427d37 commit 58e4422

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

google/pubsub/v1/pubsub_grpc_service_config.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,27 @@
120120
]
121121
}
122122
},
123+
{
124+
"name": [
125+
{
126+
"service": "google.pubsub.v1.Subscriber",
127+
"method": "Pull"
128+
}
129+
],
130+
"timeout": "60s",
131+
"retryPolicy": {
132+
"maxAttempts": 5,
133+
"initialBackoff": "0.100s",
134+
"maxBackoff": "60s",
135+
"backoffMultiplier": 1.3,
136+
"retryableStatusCodes": [
137+
"UNKNOWN",
138+
"ABORTED",
139+
"UNAVAILABLE",
140+
"INTERNAL"
141+
]
142+
}
143+
},
123144
{
124145
"name": [
125146
{
@@ -146,10 +167,6 @@
146167
"service": "google.pubsub.v1.Subscriber",
147168
"method": "Seek"
148169
},
149-
{
150-
"service": "google.pubsub.v1.Subscriber",
151-
"method": "Pull"
152-
},
153170
{
154171
"service": "google.pubsub.v1.Subscriber",
155172
"method": "GetIamPolicy"

0 commit comments

Comments
 (0)