BewareMyPower commented on PR #21271:
URL: https://github.com/apache/pulsar/pull/21271#issuecomment-1751947747

   > If we use Reader, then all topics may need to read the system topic from 
beginning to end when it loads.
   
   Yeah I just also thought of this point so I deleted my comment before.
   
   > The current use case is that when reads and writes for a key do not occur 
at the same time, 
   
   If this `refreshAsync` method is just to handle the case, you must note the 
limitation that it cannot guarantee latest value is read unless there is no 
messages sent to the topic before the future is complete. i.e. it's meaningful 
only when the caller takes control of all producers to the topic.


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