googleapis / googleapis/google-cloud-java

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

Đang mở
#13,042 0 bình luận 0 reaction 1 người được giao Được @michaelpri10 nhận Xem trên GitHub
api: pubsub
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.