Totally I'm +0 at the moment. I'm still wondering which issue you really want to resolve. I left a comment https://github.com/apache/pulsar/pull/21271#issuecomment-1751899833. Generally you can get latest value unless the producer is far quicker than the reader. However, even with the refreshAsync() method, in the future's callback, the data could still be updated.
>From my perspective, this proposal only makes sense when you can guarantee there is no more data written to the topic when you call methods of TableView. But if so, a simple `boolean hasReachedLatest()` method could do the trick. Thanks, Yunze On Sun, Oct 8, 2023 at 2:12 PM 太上玄元道君 <dao...@apache.org> wrote: > > +1 (no-binding) > > > Xiangying Meng <xiangy...@apache.org>于2023年9月27日 周三15:05写道: > > > Hi dev, > > This thread is to start a vote for PIP-302 Add new API > > refreshAsync for TableView. > > Discuss thread: > > https://lists.apache.org/thread/o085y2314o0fymvx0x8pojmgjwcwn59q > > PIP: https://github.com/apache/pulsar/pull/21166 > > > > BR, > > Xiangying > >