yr.ProducerConfig.reserve_size#
- ProducerConfig.reserve_size: int = 0#
Represents the reserved memory size in bytes (B). When creating a producer, an attempt will be made to reserve
reserve_sizebytes of memory. If the reservation fails, creating the producer will raise an exception.reserve_sizemust be an integer multiple ofpage_sizeand within the range[0, max_stream_size]. Ifreserve_sizeis0, it will be set to page_size. Default value is0.