imjyz commented on issue #1205: URL: https://github.com/apache/rocketmq-clients/issues/1205#issuecomment-5494620595
I checked the latest Java client again (including the `java-5.2.2` release and current `master`). The public `Producer` API still only exposes `send(Message)` and `sendAsync(Message)`, while `ProducerImpl` still has an internal `send(List<Message>, boolean)` path that builds one `SendMessageRequest` with multiple messages. The legacy Remoting Java client provides the similar `DefaultMQProducer.send(Collection<Message>)` API, but I could not find an equivalent public batch-send API in the Java 5.x gRPC client. Could the maintainers clarify whether there is now a supported alternative for batching messages into a single RPC? If not, is the community willing to restore/expose a batch API here? It would also be helpful to understand whether the constraint that led to removing the original public batch API in commit `f9792612e1` still applies (for example, Proxy/protocol compatibility, per-message partial failures, batch limits, or retry semantics). -- 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]
