RockteMQ-AI commented on issue #1428: URL: https://github.com/apache/rocketmq-clients/issues/1428#issuecomment-6311196408
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** The reported issue has been verified against the current codebase (commit `a3d1de8b`). **Root Cause:** The Rust client does not handle `body_encoding` or `body_digest` system properties. Messages are delivered as-is without decompression or digest verification. **Code Location:** `rust/src/model/message.rs` — no references to `body_encoding`, `body_digest`, `decompress`, `gzip`, `zstd`, or `verify` exist in the message model. **Impact:** - Compressed message bodies reach applications as raw bytes, breaking compatibility with producers using compression. - No corruption detection — network or storage errors go undetected. **Severity:** High — data correctness and compatibility issue affecting all Rust clients. **Comparison with Java:** Java client checks `body_encoding`, decompresses if needed, and verifies `body_digest` (CRC32 or MD5). An automated fix proposal will be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by RockteMQ-AI* -- 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]
