Limits on Streaming Resources
This information describes limits on Streaming resources.
The Streaming service has the following limits:
- The maximum retention period for messages in a stream is seven days. The minimum retention period is 24 hours. All messages in a stream are deleted after the retention period passes, whether or not they have been read.
- The retention period for a stream cannot be changed after creation of the stream.
- A tenancy has a default limit of 15 partitions (Monthly Universal Credits) or one partition (Pay-as-You-Go or Promo). If your throughput requires additional partitions, you can request more. Additional partitions above the default partition limit will expect a minimum read and write throughput usage per partition. For more details, contact support.
- The number of partitions for a stream cannot be changed after creation of the stream.
- A single stream can support up to 50 consumer groups reading from the stream.
- Each partition can support:
- A total data write rate of 1 MB per second. There is no limit on the number of PUT requests, provided the limit of 1 MB per second per partition is not exceeded.
- 5 GET requests per second per consumer group. Since a single stream can support up to 50 consumer groups, and a single partition in a stream can be read by at-most one consumer in a consumer group, a partition can support up to 250 GET requests per second (5 GET requests per second per consumer in all 50 consumer groups).
- The maximum size of a unique message that producers can publish to a stream is 1 MB.
- The maximum size of any single request is 1 MB. A request's size is the sum of its keys and messages after they've been decoded from Base64.
For a list of applicable limits and instructions for requesting a limit increase, see Service Limits. To set compartment-specific limits on a resource or resource family, administrators can use compartment quotas.