GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: track batch size using serialized size of PublishRequest by sjvanrossum · Pull Request #2113 · googleapis/java-pubsub

This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Conversation

@sjvanrossum

@sjvanrossum sjvanrossum commented Jul 12, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #2106 ☕️

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sjvanrossum
feat: track batch size using serialized size of PublishRequest
f8a815f
@sjvanrossum
sjvanrossum requested a review from a team July 12, 2024 14:31
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: pubsub Issues related to the googleapis/java-pubsub API. labels Jul 12, 2024
@blunderbuss-gcf blunderbuss-gcf Bot assigned michaelpri10 Jul 12, 2024
@sjvanrossum sjvanrossum mentioned this pull request Jul 12, 2024
Request batching does not track encoding overhead accurately #2106
Closed
Steven van Rossum added 3 commits July 29, 2024 23:01
Steven van Rossum
fix: compare against batchedBytes instead of messageSize in flush con…
7e8c979
…dition
Steven van Rossum
fix: also count static overhead in flow control
05c8cbe
Steven van Rossum
fix: adjust thresholds in tests
9fdbf3d
michaelpri10
michaelpri10 suggested changes Oct 10, 2024
View reviewed changes
Comment thread google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@michaelpri10

michaelpri10 commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

/gcbrun

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@michaelpri10 michaelpri10 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 10, 2024
@michaelpri10
Merge branch 'main' into main
6f55bca
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 10, 2024
michaelpri10
michaelpri10 reviewed Oct 10, 2024
View reviewed changes
Comment thread google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Steven van Rossum added 3 commits October 11, 2024 19:51
Steven van Rossum
fix: clean up merge issue
039a689
Steven van Rossum
fix: revert use of topicNameSize in MessageFlowController
e5a644b
Steven van Rossum
fix: store topicNameSize as initialBatchedBytes in MessagesBatch
fad52c0
@michaelpri10

michaelpri10 commented Oct 11, 2024

Copy link
Copy Markdown
Contributor

/gcbrun

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

michaelpri10
michaelpri10 approved these changes Oct 11, 2024
View reviewed changes
@michaelpri10 michaelpri10 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 11, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 11, 2024
@michaelpri10
michaelpri10 merged commit be78e64 into googleapis:main Oct 11, 2024
@release-please release-please Bot mentioned this pull request Oct 11, 2024
chore(main): release 1.134.0 #2228
Merged
@release-please release-please Bot mentioned this pull request Dec 15, 2025
chore(protobuf-4.x-rc): release 1.145.0-rc1 #2629
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@michaelpri10 michaelpri10 michaelpri10 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@michaelpri10 michaelpri10

Labels

api: pubsub Issues related to the googleapis/java-pubsub API. size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Request batching does not track encoding overhead accurately

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@sjvanrossum @michaelpri10 @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.