vcrfxia opened a new pull request, #13564:
URL: https://github.com/apache/kafka/pull/13564

   (This PR is stacked on https://github.com/apache/kafka/pull/13554. The first 
commit does not need to be reviewed separately.)
   
   This PR adds an additional boolean `isLatest` into `Change` which specifies 
whether the new value is the latest for its key. For un-versioned stores, 
`isLatest` is always true. For versioned stores, `isLatest` is true if the 
value has the latest timestamp seen for the key, else false. This boolean will 
be used by processors such as the table repartition map processor to determine 
when a record is out-of-order and should be dropped (when processing a 
versioned table). See 
[KIP-914](https://cwiki.apache.org/confluence/display/KAFKA/KIP-914%3A+DSL+Processor+Semantics+for+Versioned+Stores)
 for details. 
   
   This PR updates the table repartition map processor accordingly, and also 
adds test coverage for table filter. 
   
   ### 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