Skip to content

[Enhancement] Adding Send Message constraints for Message Body Size and Message Batch Send Size #655

@jinrongluo

Description

@jinrongluo

Search before asking

  • I had searched in the issues 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?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions