xuesongxs opened a new issue #12399:
URL: https://github.com/apache/pulsar/issues/12399


   **Describe the bug**
   The storage space of partition is much larger than 4G 
(managedLedgerMaxSizePerLedgerMbytes=4096 in broker.conf).
   
   Pulsar v2.8.1
   
![e898c53b8dbd468fb4d0ed0de0a2c2a](https://user-images.githubusercontent.com/54351417/137667693-64cc5156-77b4-427d-bf7a-789cdd32f35a.png)
   
   broker.conf
   managedLedgerMaxEntriesPerLedger=50000
   managedLedgerMaxSizePerLedgerMbytes=4096
   
   producer code:
               producer = client.newProducer(Schema.STRING)
                       .topic(topic)
                       .producerName(producerName)
                       .sendTimeout(0, TimeUnit.SECONDS)
                       .enableBatching(true)
                       .batchingMaxMessages(1000)
                       .compressionType(CompressionType.ZSTD)
                       .blockIfQueueFull(true)
                       .create();
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Start producer
   2. View the segmented storage of the partition in pulsar manager
   3. The storage space of partition is much larger than 4G
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to