Skip to content

Commit

Permalink
feat: add max messages batching for Cloud Storage subscriptions (#1956)
Browse files Browse the repository at this point in the history
- [ ] 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
  • Loading branch information
gcf-owl-bot[bot] authored Jul 12, 2024
1 parent 120fa1b commit 90546f6
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
**/node_modules
**/coverage
test/fixtures
**/.coverage
build/
docs/
owl-bot-staging/
protos/
system-test/
samples/generated/
system-test/**/fixtures
4 changes: 4 additions & 0 deletions protos/google/pubsub/v1/pubsub.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,10 @@ message CloudStorageConfig {
// be exceeded in cases where messages are larger than the limit.
int64 max_bytes = 7 [(google.api.field_behavior) = OPTIONAL];

// Optional. The maximum number of messages that can be written to a Cloud
// Storage file before a new file is created. Min 1000 messages.
int64 max_messages = 8 [(google.api.field_behavior) = OPTIONAL];

// Output only. An output-only field that indicates whether or not the
// subscription can receive messages.
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
Expand Down
6 changes: 6 additions & 0 deletions protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 90546f6

Please sign in to comment.