zmt-Eason commented on a change in pull request #760:
URL: 
https://github.com/apache/incubator-eventmesh/pull/760#discussion_r802263718



##########
File path: 
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/processor/BatchSendMessageProcessor.java
##########
@@ -111,6 +112,18 @@ public void processRequest(ChannelHandlerContext ctx, 
AsyncContext<HttpCommand>
         String producerGroup = "";
         int eventSize = eventList.size();
 
+        if (eventSize > 
eventMeshHTTPServer.getEventMeshHttpConfiguration().eventMeshEventBatchSize) {

Review comment:
       
可以考虑在AbstractHTTPServer的processEventMeshRequest里加消息体限制,可以避免在每个具体的processor里的重复代码




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to