vvcephei opened a new pull request #11583:
URL: https://github.com/apache/kafka/pull/11583


   Just experimenting with what would happen if we pass serdes around and just 
skip translating data in the Metered stores at all.
   
   I think this winds up being a little messy because didn't want to build in 
`K` and `V` type bounds on the query, so there's no bound on the serde types 
either, which means that both the store's query handler and the user of IQ have 
to cast after de/serialization.
   
   There also doesn't seem to be a way to generalize the notion of a "lazily 
deserialized result", since the object returned by a query may not be a plain 
value, but it might be an Iterator of values, or a Future value, etc.
   
   I might have just wound up on the wrong track here, though, so I'm going to 
take a break and come back later to see if I have better ideas.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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