Google Pub/Sub 属性值的最大限制是多少?

What is the maximum limit of Google Pub/Sub Attributes value?

我正在尝试在我的项目中使用 Google Pub/Sub。 我得到了错误,因为它超过了属性值的限制。

消息:客户端错误:POST https://pubsub.googleapis.com/v1/projects/<project>/topics/<topic>:publish 导致 400 Bad Request 响应:{ "error": { "code": 400, "message": "其中之一请求中的属性值太长。l (truncated...)

我阅读了 https://cloud.google.com/pubsub/docs/ 上的文档,但找不到它。

这些限制在文档的 Quotas 部分中指定。属性键最多 256 字节,属性值最多 1024 字节。