RockteMQ-AI commented on issue #1317:
URL: 
https://github.com/apache/rocketmq-clients/issues/1317#issuecomment-5190441817

   **Issue Evaluation**
   
   Category: `enhancement` | Status: **Evaluated**
   
   **Feasibility:** Feasible
   **Scope:** `golang/v5` — producer batch send API
   **Compatibility:** Additive API, no breaking changes
   
   Well-defined feature request. The Go 5.x client already has an internal 
`send0` that accepts `[]*UnifiedMessage`, so exposing a public `SendBatch` API 
is straightforward. This restores parity with the 2.x legacy client.
   
   Implementation should:
   1. Add `SendBatch(ctx, []*Message) ([]*SendReceipt, error)` to the producer 
interface
   2. Reuse the existing `send0` batch path
   3. Handle partial success (some messages sent, some failed)
   4. Add unit tests for batch sizes (1, N, max batch limit)
   
   ---
   *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]

Reply via email to