You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "john1337 (via GitHub)" <gi...@apache.org> on 2025/11/11 00:34:54 UTC

[I] RocketMQClientTemplate怎么没有批量发送消息的接口啊 [rocketmq-spring]

john1337 opened a new issue, #751:
URL: https://github.com/apache/rocketmq-spring/issues/751

   RocketMQClientTemplate怎么没有批量发送消息的接口啊,4.x版本的rocketmq producer是有发送批量发送消息的接口的


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RocketMQClientTemplate怎么没有批量发送消息的接口啊 [rocketmq-spring]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #751:
URL: https://github.com/apache/rocketmq-spring/issues/751#issuecomment-5655097393

   **Issue Evaluation**
   
   Category: `type/new feature` | Status: **Evaluated**
   
   The request for a batch send API in `RocketMQClientTemplate` is reasonable. The 4.x producer supports batch sending, and the 5.x gRPC client also supports it at the protocol level. Adding a `sendBatch` method to the template would restore parity with the 4.x API.
   
   ---
   *Automated evaluation by github-manager*
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RocketMQClientTemplate怎么没有批量发送消息的接口啊 [rocketmq-spring]

Posted by "sycz (via GitHub)" <gi...@apache.org>.
sycz commented on issue #751:
URL: https://github.com/apache/rocketmq-spring/issues/751#issuecomment-3698844578

   org.apache.rocketmq.client.producer.DefaultMQProducer.batch(Collection<Message> msgs) throws MQClientException


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RocketMQClientTemplate怎么没有批量发送消息的接口啊 [rocketmq-spring]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #751:
URL: https://github.com/apache/rocketmq-spring/issues/751#issuecomment-5487006751

   **Issue Evaluation**
   
   Category: `question`
   
   The RocketMQClientTemplate in v5 does not provide a dedicated batch send API. For batch operations:
   1. Use sendNormalMessage() in a loop for small batches
   2. Use the underlying v5 Producer API directly for batch sends
   3. Use sendAsync() with CompletableFuture.allOf() for parallel async sends
   
   This is a known feature gap in the v5 Spring Boot integration.
   
   ---
   *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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RocketMQClientTemplate怎么没有批量发送消息的接口啊 [rocketmq-spring]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #751:
URL: https://github.com/apache/rocketmq-spring/issues/751#issuecomment-5440419647

   **Issue Evaluation**\n\nCategory: question | Status: **Needs Clarification**\n\nThis appears to be a usage question or configuration issue. Please provide:\n- RocketMQ Spring version\n- Configuration details\n- Error logs or stack traces if applicable\n\nFor usage questions, consider checking the documentation or asking in GitHub Discussions.\n\n---\n*Automated evaluation by github-manager*


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RocketMQClientTemplate怎么没有批量发送消息的接口啊 [rocketmq-spring]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #751:
URL: https://github.com/apache/rocketmq-spring/issues/751#issuecomment-5190995018

   **Issue Evaluation**
   
   Category: `enhancement` | Status: **Evaluated**
   
   **Analysis:** The `RocketMQClientTemplate` in the v5 client spring boot starter currently does not expose a batch send API, unlike the 4.x producer which has `send(Collection<Message>)`.
   
   **Feasibility:** feasible
   **Scope:** `rocketmq-v5-client-spring-boot` module
   **Compatibility:** No breaking changes required
   
   The underlying v5 client `Producer` supports batch sending. The template class should expose this capability through a `sendBatch()` or similar method.
   
   ---
   *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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org