You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/10/06 08:04:03 UTC

[GitHub] [pulsar] sijie commented on pull request #8205: [Issue 8204][bookkeeper] Estimate backlog size as total if no consumer is present

sijie commented on pull request #8205:
URL: https://github.com/apache/pulsar/pull/8205#issuecomment-704102947


   @fmiguelez - Just want to be very clear on storage size and backlog. The storage size is the total amount of bytes in the topic. This is already exposed as part of topic stats. The backlog is a concept for measuring how many messages are not consumed by a subscription. The backlog conception is a concept of a subscription, not a topic. I recorded a session walking through those conceptions. You can watch it at https://www.youtube.com/watch?v=PIX570nyq_c&list=PLqRma1oIkcWhWAhKgImEeRiQi5vMlqTc-&index=4&t=1368s and view the slides at https://www.slideshare.net/streamnative/tgi-pulsar-episode-016-backlog-vs-storage-size.
   
   If the intention is to fix #8204, we should just change the logic to use storage size for triggering topic compaction instead of using backlog size. 
   
   
   
   


----------------------------------------------------------------
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:
users@infra.apache.org