Skip to content

Commit 90546f6

Browse files
feat: add max messages batching for Cloud Storage subscriptions (#1956)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 651799920 Source-Link: https://togithub.com/googleapis/googleapis/commit/8148b2fde13d3ed79cf285e9c529572aa8cf6ef7 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1a41634b2c8b7c5c7ea79e9d86f514b532f17d08 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE0MTYzNGIyYzhiN2M1YzdlYTc5ZTlkODZmNTE0YjUzMmYxN2QwOCJ9
1 parent 120fa1b commit 90546f6

File tree

5 files changed

+56
-4
lines changed

5 files changed

+56
-4
lines changed

.eslintignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
**/node_modules
2-
**/coverage
3-
test/fixtures
2+
**/.coverage
43
build/
54
docs/
6-
owl-bot-staging/
75
protos/
6+
system-test/
87
samples/generated/
9-
system-test/**/fixtures

protos/google/pubsub/v1/pubsub.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,10 @@ message CloudStorageConfig {
12401240
// be exceeded in cases where messages are larger than the limit.
12411241
int64 max_bytes = 7 [(google.api.field_behavior) = OPTIONAL];
12421242

1243+
// Optional. The maximum number of messages that can be written to a Cloud
1244+
// Storage file before a new file is created. Min 1000 messages.
1245+
int64 max_messages = 8 [(google.api.field_behavior) = OPTIONAL];
1246+
12431247
// Output only. An output-only field that indicates whether or not the
12441248
// subscription can receive messages.
12451249
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];

protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)