Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # dev >> [jira] [Commented] (KAFKA-998) Producer should not retry on non-recoverable error codes

Guozhang Wang 2013-08-05, 17:26
Jason Rosenberg 2013-08-27, 01:21
Jason Rosenberg 2013-08-26, 07:17
Copy link to this message
[jira] [Commented] (KAFKA-998) Producer should not retry on non-recoverable error codes

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

Jason Rosenberg commented on KAFKA-998:

Also, a producer can throw QueueFullException.  From the client's point of view, it would make sense that this should also be a retryable situation (depending on load).  Thus, QueueFullException might make sense to be a sub-class of FailedToSendException (and more likely a sub-class of RetriesExhaustedFailedToSendException (or whatever name that might better be renamed to).
> Producer should not retry on non-recoverable error codes
> --------------------------------------------------------
>                 Key: KAFKA-998
>                 URL: https://issues.apache.org/jira/browse/KAFKA-998
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8, 0.8.1
>            Reporter: Joel Koshy
>            Assignee: Guozhang Wang
>         Attachments: KAFKA-998.v1.patch
> Based on a discussion with Guozhang. The producer currently retries on all error codes (including messagesizetoolarge which is pointless to retry on). This can slow down the producer unnecessarily.
> If at all we want to retry on that error code we would need to retry with a smaller batch size, but that's a separate discussion.

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

Joel Koshy 2013-09-04, 22:38
Guozhang Wang 2013-09-05, 01:42
Joel Koshy 2013-09-05, 17:46
Neha Narkhede 2013-09-07, 19:11
Jun Rao 2013-09-12, 17:13
Jason Rosenberg 2013-09-26, 15:26