[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-01-30。"],[],[],null,["# Pub/Sub Lite quotas and limits\n\nThis document provides information about quotas and resource\nlimits for Pub/Sub Lite. Unless mentioned otherwise,\nPub/Sub Lite topics refer to both\nzonal and regional Lite topics.\n| **Key Point:** You can request increases to quotas, but limits cannot be adjusted.\n\nOverview of quotas and limits\n-----------------------------\n\nGoogle Cloud uses quotas to restrict how much of a particular shared\nGoogle Cloud resource that you can use. Each quota represents a specific\ncountable resource, such as API calls to a particular service, the number of\nbytes sent to a particular service, or the storage used by your project.\n\nMany services also have system limits.\nThese are fixed constraints, such as maximum message sizes or the number of\nPub/Sub Lite resources you can create in a project,\nwhich cannot be increased or decreased.\n\nPub/Sub Lite quotas\n-------------------\n\nQuotas apply to the following properties of a Pub/Sub Lite\nservice:\n\n- [Throughput for a zone in case of a zonal Lite topic without reservations and throughput reservation capacity units in a region](#throughput_quotas)\n- [Storage for a region](#storage_quotas)\n- [Rate of administrative Pub/Sub Lite requests for a project](#request_quotas)\n\n### Throughput quotas\n\nRegional Lite topic require throughput reservations. Zonal Lite topics\ncan use reservations or allocate throughput capacity directly to a topic.\nZonal Lite topics without reservations consume publish and\nsubscribe throughput quota of their respective zones. Lite topic\nwith reservations only consume throughput quota through their\nreservations.\n\nThe following default quotas apply to each project and [location](/pubsub/lite/docs/locations):\n\n### Storage quotas\n\nThe storage of both zonal and regional Lite topics in a project counts towards\nthe same regional quota. A regional Lite topic stores data in two zones in a\nregion, whereas a zonal Lite topic stores data only in one zone in a region.\n\nFor example, if you create a zonal Lite topic with one partition containing 30\nGiB of storage space, you use 30 GiB of your storage quota. Alternatively,\nif you create a regional Lite topic with one partition containing 30 GiB of\nstorage space, you use 60 GiB (30 x 2) of your storage quota.\n\nLite topics store messages in partitions, and each message uses 256 bytes\nto 10 MiB of storage space. If the message is larger than 256 bytes, then\nthe size of the message is the sum of the following:\n\n- The number of bytes in the encoded message body string\n- The number of bytes in the key and value of each attribute\n- The number of bytes in the ordering key\n- 12 bytes for the event timestamp\n\nFor more information about the message format, see the [message resource in the Pub/Sub Lite API reference](/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.PubSubMessage).\n\nThe following default quotas apply to each project and [location](/pubsub/lite/docs/locations):\n\n### Rate quotas\n\nThe following quotas apply to Pub/Sub Lite requests in each region:\n\nThese quotas apply to each Google Cloud console project and are shared across all\napplications using that project.\n\n### Quota increases\n\nIf you want to increase any of your quotas for Pub/Sub Lite, you can\nuse the Google Cloud console to request a quota increase. For details, see\n[Request a quota adjustment](/docs/quotas/help/request_increase).\n\nPub/Sub Lite limits\n-------------------\n\nAs mentioned before, you cannot increase resources that have limits.\n\n### Subscription limits\n\nPub/Sub Lite enforces a limit of 1,000 Lite subscriptions for\na Lite topic."]]