Skip to content

feat: Enforcing max limits set by getApiMaxRequestElementCount() and getApiMaxRequestBytes()#2685

Open
DanielssonJacob wants to merge 1 commit intogoogleapis:mainfrom
DanielssonJacob:feat-enforce-max-limits
Open

feat: Enforcing max limits set by getApiMaxRequestElementCount() and getApiMaxRequestBytes()#2685
DanielssonJacob wants to merge 1 commit intogoogleapis:mainfrom
DanielssonJacob:feat-enforce-max-limits

Conversation

@DanielssonJacob
Copy link

Enforcing max limits set by getApiMaxRequestElementCount() and getApiMaxRequestBytes().
The limits are documented in the pubsub documentation here (Quotas and limits on batch messaging).
getApiMaxRequestElementCount() and getApiMaxRequestBytes() are not new methods, just has not previously been enforced.

Suggested fix to the issue I opened: #2684

@DanielssonJacob DanielssonJacob requested a review from a team as a code owner February 5, 2026 10:19
@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 Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants