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

Jay Kreps commented on KAFKA-1296:
----------------------------------

Yeah this should be easy enough, just add a callback that logs the error.

> Improve error reporting in new mirror maker and console producer
> ----------------------------------------------------------------
>
>                 Key: KAFKA-1296
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1296
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>    Affects Versions: 0.9.0
>            Reporter: Neha Narkhede
>            Assignee: Neha Narkhede
>            Priority: Critical
>
> In the new mirror maker (like the old MM), the MM asynchronously sends data 
> through the producer. Due to this, it doesn't have a way to get any exception 
> that the producer sends back and do something meaningful. At least not 
> without falling back to synchronous behavior. What this means is that if the 
> producer runs out of retries, it silently drops data on the floor and the 
> user is left wondering why the # of messages in the target cluster don't 
> match with those in the source cluster.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to