You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Paul Pearcy (JIRA)" <ji...@apache.org> on 2014/12/29 21:43:13 UTC

[jira] [Created] (KAFKA-1837) Metadata record future never returns on get call after producer is stopped and messages can't be sent

Paul Pearcy created KAFKA-1837:
----------------------------------

             Summary: Metadata record future never returns on get call after producer is stopped and messages can't be sent
                 Key: KAFKA-1837
                 URL: https://issues.apache.org/jira/browse/KAFKA-1837
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 0.8.2
            Reporter: Paul Pearcy
            Priority: Minor


When producer stop is called and messages are unable to be sent nothing is ever returned for the futures and the get will block forever. 

Instead when a producer is stopped and messages are abandoned, the futures should return an exception indicating the failure. 

I have a test case to reproduce this that I should be able to attach after some rework to move to kafka's producer integration suite. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)