chengxilo opened a new issue, #2984:
URL: https://github.com/apache/iggy/issues/2984

   ### Description
   
   We should develop a small Rust utility that uses the production SDK to 
generate "Baseline Files" for every message type (e.g., poll_messages request, 
poll_message response, get_user request, get_user response, etc). For each 
message type, it will output:
   
   `.bin`: The "correct" serialized binary representation.
   `.json`: The human-readable structured data representing that message.
   
   Each SDK implementation (Go, Python, etc.) will integrate a specific test 
suite that performs the following:
   
   For response, read the .bin file, deserialize it, compre with .json.
   
   For request, read the the `.json` file, serialize it, compare with `.bin` 
file.
   
   If this is in our CI, we can make sure that the SDK other than rust can be 
forced to always align with rust SDK.
   
   ### Component
   
   None
   
   ### Proposed solution
   
   _No response_
   
   ### Alternatives considered
   
   _No response_


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