RockteMQ-AI commented on issue #10538: URL: https://github.com/apache/rocketmq/issues/10538#issuecomment-4782072639
**Issue Evaluation** Category: `type/enhancement` | Status: **Evaluated** **Feasibility:** Feasible **Scope:** `client` module — `MQClientAPIImpl` and `SendMessageRequestHeaderV2` **Compatibility:** Backward compatible — the V1 header path remains for older brokers. Eliminating the intermediate `SendMessageRequestHeaderV2` object on the hot path is a valid micro-optimization. The current flow (`V1 → V2 → Properties`) creates unnecessary allocations per message. Caching the V2→Properties conversion for unchanged fields would reduce GC pressure in high-throughput scenarios. This is a good first contribution for someone familiar with the client send path. --- *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]
