jinrongluo opened a new issue #655:
URL: https://github.com/apache/incubator-eventmesh/issues/655


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Enhancement Request
   
   Currently in Eventmesh there is no configuration constraints to limit how 
large a message can be send to EventMesh. And for batch send, there is no limit 
of how many messages can be send in one batch.
   
   For security and system reliability, I suggest to add these two limits to 
constraint the Message Body Size and Message BatchSend Size
   
   ### Describe the solution you'd like
   
   In Eventmesh configuration file, add these two property
   
   eventmesh.server.message.bodySize
   
   eventmesh.server.message.batchSize
   
   In HTTP and TCP MessageSend processors, check these limits before processing 
the actual message.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


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