[
https://issues.apache.org/jira/browse/KAFKA-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jay Kreps resolved KAFKA-867.
-----------------------------
Resolution: Incomplete
No follow-up.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)