kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-496) high level producer send should return a response
Date Thu, 06 Sep 2012 16:11:07 GMT
Jun Rao created KAFKA-496:
-----------------------------

             Summary: high level producer send should return a response
                 Key: KAFKA-496
                 URL: https://issues.apache.org/jira/browse/KAFKA-496
             Project: Kafka
          Issue Type: Bug
          Components: core
            Reporter: Jun Rao
             Fix For: 0.8


Currently, Producer.send() doesn't return any value. In 0.8, since each produce request will
be acked, we should pass the response back. What we can do is that if the producer is in sync
mode, we can return a map of (topic,partitionId) -> (errorcode, offset). If the producer
is in async mode, we can just return a null.

--
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

Mime
View raw message