kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashanth Menon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-295) Bug in async producer DefaultEventHandler retry logic
Date Tue, 06 Mar 2012 18:02:58 GMT
Bug in async producer DefaultEventHandler retry logic
-----------------------------------------------------

                 Key: KAFKA-295
                 URL: https://issues.apache.org/jira/browse/KAFKA-295
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.8
            Reporter: Prashanth Menon
             Fix For: 0.8


In the DefaultEventHandler's retry loop, the logic should not return after a successful retry.
 Rather, it should set a boolean flag indicating that the retry was successful and exit or
break the while loop.  In the end it should throw an exception only the flag is false.  Otherwise,
it should continue the outer for loop and send remaining data to remaning brokers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message