jerrypeng commented on issue #6787:
URL: https://github.com/apache/pulsar/pull/6787#issuecomment-618205635


   @sijie the default behavior of stored data in pulsar is not exactly the same 
as data in a file.  By default data is not persisted in Pulsar at all.  Only if 
a topic has a subscription or retention configured is the data actually 
persisted.  Thus, if you want to Readers to able to read a certain amount of 
data, the user should configure the appropriate retention.  I would recommend 
that is the correct workflow we should recommend users that want to use 
Readers. I would also argue that if you are using the Reader API and you want 
some level of guarantee of reading the data, you would have to configure 
retention.  If you don't and the Reader dies, the data is not guaranteed to be 
there when the Reader comes back.


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


Reply via email to