dengziming opened a new pull request #9766:
URL: https://github.com/apache/kafka/pull/9766


   *More detailed description of your change*
   1. Convert end txn marker schema to use auto-generated protocol 
`EndTxnMarker`
   2. substitute `CURRENT_END_TXN_MARKER_VALUE_SIZE` with an 
`endTnxMarkerValueSize` method since the size is accumulated from 
`EndTxnMarker`.
   3. add buffer to `EndTransactionMarker` to avoid twice compute from 
`serializeValue` and `endTnxMarkerValueSize`.
   
   *Summary of testing strategy (including rationale)*
   A unit test to verify serialize and deserialize
   
   ### 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.

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


Reply via email to