lhotari commented on issue #623:
URL: 
https://github.com/apache/pulsar-helm-chart/issues/623#issuecomment-3299019202

   > Hello, I have not heard back and this issue is still open? Any suggestions 
on how to test s3 offloading?
   
   >     managedLedgerMinLedgerRolloverTimeMinutes: "5" 
   >     managedLedgerMaxLedgerSize: "256M"
   
   > It should offload within 5 minutes when a ledger is closed to my 
knowledge. I tried running commands to roll it over manually and it never 
rolled over. I tried consuming and it didn't make a difference.
   
   In addition, you would need to set 
`managedLedgerMaxLedgerRolloverTimeMinutes` to be `"5"` if you want to rollover 
within 5 minutes.
   For testing, you can set `managedLedgerMinLedgerRolloverTimeMinutes: "0"` so 
that it's not preventing ledger rollover.
   
   The rules for rollover isn't very obvious, it's explained here: 
https://github.com/apache/pulsar/blob/0903f45b9cfd97816545f8210d8e6b7dab9cdd39/conf/broker.conf#L1307-L1319
   
   For various commands, you can see how s3 offloading is tested in Pulsar 
integration tests:
   
https://github.com/apache/pulsar/blob/master/tests/integration/src/test/java/org/apache/pulsar/tests/integration/offload/TestS3Offload.java
   
https://github.com/apache/pulsar/blob/master/tests/integration/src/test/java/org/apache/pulsar/tests/integration/offload/TestBaseOffload.java#L40


-- 
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