sijie commented on issue #7500: URL: https://github.com/apache/pulsar/issues/7500#issuecomment-659951570
@hozumi > should backlog quota be set to the same size as retention policy? Yes. > If so, as retention policy is applied to the messages only not in backlog, do I need to estimate the maximum size of disk space at twice the size of the retention policy? If your consumer acknowledge messages, you can just estimate the maximum size of disk space by write_quorum_size * the size of the retention policy. You can also set TTL to be the same as the retention policy. So if you have subscriptions forgot to acknowledge, the data will still eventually be cleaned up after retention period. ---------------------------------------------------------------- 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: [email protected]
