vamossagar12 edited a comment on pull request #11211:
URL: https://github.com/apache/kafka/pull/11211#issuecomment-946918369

   Thanks Sophie for that.
   @showuon , I think your concern about persistent stores and custom stores is 
still valid. The reason why I don't want to add the getObservedStreamTime 
method in SessionStore or WindowStore is that I feel it's not something which 
should be added to those interfaces. It's an internal level detail about how to 
track observed stream time.
   
   Having said that, if we want this behaviour to be also available for custom 
stores(and which is why we chose to add it to MeteredStores), then those custom 
stores need to implement PersistentStore classes which is not the way it works 
today, right? 
   
   One approach could be to think about custom state stores separately and have 
this merged is this looks fine. That's because I think custom state stores will 
need more thinking because of the way the State stores are structured or 
wrapped. And also, today the Persistent StateStores provided by Kafka Streams 
don't enforce retention time which IMO is a bigger problem than Custom State 
Stores. That's my personal opinion and  I am open for suggestions. Let me know 
if that makes sense.
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to