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

   This patch refactors several common functions in the package 
`streams.state.internals`  into a utility class `Utils`.  
   
   According to the JIRA description:
   >1 - all repetitive methods such as `readBytes` in de/serializaters of 
*WithHeaders types (ref: 
https://github.com/apache/kafka/pull/21511/changes#r2832393068)
   >2 - `keyBytes` methods in metered classes across all state store types.
   >3 - `rawTimestampedValue` methods in the in adapter classes across all 
state store types.
   
   Test:
   - Original functions already covered by unit tests, so simply redirect the 
code path in prior test to the new functions
   - Specific test cases are added for the new functions
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to