sijie commented on issue #4515: Offload if retention is expired
URL: https://github.com/apache/pulsar/issues/4515#issuecomment-538025658
 
 
   > @sijie offloading depends on size only yet, can it depends on size + 
duration?
   
   Currently it doesn't support time based offloading. We can look into adding 
it. Although there is some tricks need to be taken care. The offload happens on 
a segment / ledger basis. So a segment can only be offloaded when it is sealed. 
A segment is only sealed when a new ledger is rolled over, which mean it also 
depends on the ledger rollover settings.
   
   > What do you think about have offloadpolicies that define when a message 
should be offloaded and when an offloaded message should be removed? Both 
should have duration and size conditions.
   
   +1 that sounds a good idea

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to