You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Swapnil Ghike (JIRA)" <ji...@apache.org> on 2013/08/27 20:05:53 UTC

[jira] [Commented] (KAFKA-1026) Dynamically Adjust Batch Size Upon Receiving MessageSizeTooLargeException

    [ https://issues.apache.org/jira/browse/KAFKA-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751519#comment-13751519 ] 

Swapnil Ghike commented on KAFKA-1026:
--------------------------------------

As David Demaagd had mentioned earlier, it will be useful to have a bytes/numMessages/time based decision in sending the messages.
                
> Dynamically Adjust Batch Size Upon Receiving MessageSizeTooLargeException
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-1026
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1026
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Guozhang Wang
>             Fix For: 0.8.1
>
>
> Among the exceptions that can possibly received in Producer.send(), MessageSizeTooLargeException is currently not recoverable since the producer does not change the batch size but still retries on sending. It is better to have a dynamic batch size adjustment mechanism based on MessageSizeTooLargeException.
> This is related to KAFKA-998

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira