Commit 7e60bc8
setMaxInboundMessageSize in Pubsub exmaple (googleapis#3825)
Pub/Sub may return up to 20MB of data from a single pull request. The default of 4MB is not enough for even one message of maximum size (10MB).1 parent db9d244 commit 7e60bc8
1 file changed
Lines changed: 8 additions & 1 deletion
File tree
- google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
196 | 203 | | |
197 | 204 | | |
198 | 205 | | |
| |||
0 commit comments