[
https://issues.apache.org/jira/browse/KAFKA-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638043#comment-13638043
]
Jun Rao commented on KAFKA-867:
-------------------------------
Could you try the latest of the 0.8 branch? We have fixed kafka-826 and use the
latest stable published metrics package.
> producer transaction issue when metrics lib not correct
> -------------------------------------------------------
>
> Key: KAFKA-867
> URL: https://issues.apache.org/jira/browse/KAFKA-867
> Project: Kafka
> Issue Type: Bug
> Reporter: Ian Roughley
>
> When building a producer, I used a different version of metrics (v2.2.0).
> What I found in this case was that I could deploy a producer, however the
> consumer received 4 copies of each message I sent.
> Further investigation let to:
> - the timer start method was found in the producer code
> - the message was sent to the broker
> - the timer method was not found in the producer code, causing an exception
> to be thrown
> - the exception caused a retry (3 times)
> - as the message was already at the broker, there was no rollback
> Not sure if this warrant a higher level of handshaking with the broker. But
> it is a fairly simple issue to cause (given kafka's currently buit with a
> non-published metrics version), that may cause miss-understanding.
--
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