You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2011/08/14 09:32:27 UTC
[jira] [Updated] (KAFKA-99) SocketServer.scala does not enforce a
maximum request size
[ https://issues.apache.org/jira/browse/KAFKA-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Kreps updated KAFKA-99:
---------------------------
Attachment: kafka-socket-server-max-request.diff
> SocketServer.scala does not enforce a maximum request size
> ----------------------------------------------------------
>
> Key: KAFKA-99
> URL: https://issues.apache.org/jira/browse/KAFKA-99
> Project: Kafka
> Issue Type: Bug
> Reporter: Jay Kreps
> Assignee: Jay Kreps
> Attachments: kafka-socket-server-max-request.diff
>
>
> The socket server should enforce a max request size to avoid running out of memory if a large request is sent. I see code in BoundedByteBufferReceive and in KafkaConfig to specify this, but it doesn't seem to be getting used. I added this in and added a stand-alone test for the socket server to start handling some of this stuff.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira