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

   **Issue Evaluation**
   
   Category: `enhancement` | Status: **Evaluated**
   
   **Feasibility:** Feasible
   **Scope:** Java gRPC PushConsumer ack pipeline
   **Compatibility:** Non-breaking — additive API, server-side batch ack 
support already exists in the gRPC protocol.
   
   Reasonable enhancement. Batching ACK calls reduces gRPC round-trips and 
improves throughput for high-volume consumers. The proposed API 
(`ackAsync(List<MessageView>)`) aligns with the existing single-message ack 
pattern.
   
   Key considerations:
   - Batch ACK should handle partial failures (some messages acked, others 
failed) with clear error reporting.
   - Consider a configurable batch size and flush interval for the internal ack 
buffer.
   - Ensure backward compatibility with servers that do not support batch ack 
(fall back to individual acks).
   
   ---
   *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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to