googleapis / googleapis/google-cloud-java

[java-pubsub] Enforcing max limits set by getApiMaxRequestElementCount() and getApiMaxRequestBytes(). (batch messaging)

未关闭
#13,042 0 条评论 0 个 reaction 已指派 1 人 已被 @michaelpri10 认领 在 GitHub 查看
api: pubsub
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
157

描述

Enforcing max limits set by getApiMaxRequestElementCount() and getApiMaxRequestBytes().

The limits are documented in the pubsub documentation [here (Quotas and limits on batch messaging).](https://docs.cloud.google.com/pubsub/docs/batch-messaging#quotas_and_limits_on_batch_messaging)
[getApiMaxRequestElementCount()](https://github.com/googleapis/java-pubsub/blob/09c01ed8b24ce019cea629dcb0d45dacfe5f112a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java#L140) and [getApiMaxRequestBytes()](https://github.com/googleapis/java-pubsub/blob/09c01ed8b24ce019cea629dcb0d45dacfe5f112a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java#L145) are not new methods, just has not previously been enforced.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。