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

Jay Kreps commented on KAFKA-1831:
----------------------------------

The new producer returns RecordMetadata on each request. This contains the 
partition to which the record was written. The producer will also give you the 
current state of the cluster which will show where the leader for that 
partition is. I think this is probably sufficient.

> Producer does not provide any information about which host the data was sent 
> to
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-1831
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1831
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>    Affects Versions: 0.8.1.1
>            Reporter: Mark Payne
>            Assignee: Jun Rao
>
> For traceability purposes and for troubleshooting, when sending data to 
> Kafka, the Producer should provide information about which host the data was 
> sent to. This works well already in the SimpleConsumer, which provides host() 
> and port() methods.



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

Reply via email to