Skip to content

Introduce netty.server.max-request-size to limit the request size #3049

@loserwang1024

Description

@loserwang1024

Search before asking

  • I searched in the issues and found nothing similar.

Description

Both Kafka and Pulsar enforce limits on the server side:
[1] In Pulsar, the maxMessageSize parameter can be configured on the server, with a default value of 5 MB (see: https://pulsar.apache.org/docs/next/concepts-messaging/).
[2] In Kafka, the socket.request.max.bytes configuration (often associated with socket.send.buffer.bytes) has a default value of 100 MB (see: https://kafka.apache.org/42/configuration/broker-configs/#brokerconfigs_socket.request.max.bytes).

Similarly, Fluss should introduce a configurable parameter named netty.server.max-request-size, with a default value of 100 MB.

(In our production environment, we have write batch.size values reaching several tens of megabytes; therefore, we require this limit to be set higher.)

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions