[
https://issues.apache.org/jira/browse/KAFKA-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15525087#comment-15525087
]
ASF GitHub Bot commented on KAFKA-3965:
---------------------------------------
GitHub user becketqin opened a pull request:
https://github.com/apache/kafka/pull/1915
KAFKA-3965 mirror maker should not commit offset when exception is thrown
from producer.send()
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/becketqin/kafka KAFKA-3965
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1915.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1915
----
commit 0893c16af702cb896d94c3ec63034508f2679ab4
Author: Jiangjie Qin <[email protected]>
Date: 2016-09-27T05:05:18Z
KAFKA-3965 mirror maker should not commit offset when exception is thrown
from producer.send()
----
> Mirror maker sync send fails will lose messages
> -----------------------------------------------
>
> Key: KAFKA-3965
> URL: https://issues.apache.org/jira/browse/KAFKA-3965
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.10.0.0
> Environment: SUSE Linux Enterprise Server 11 (x86_64)
> Reporter: NieWang
> Assignee: Jiangjie Qin
> Fix For: 0.10.1.0
>
>
> 1、Source kafka cluster storage some messages and message size is 500 bytes.
> 2、Mirror maker producer config
> producer.type=sync
> max.request.size=400
> 3、Start mirror maker backup message from source kafka cluster to destination
> kafka cluster, then mirror maker will quit because message larger than 400.
> 4、Check source kafka cluster will find offset have set to 1.
> 5、Check destination kafka cluster, then find have not any message.
> 6、Delete producer config max.request.size=400,start mirror maker again. Wait
> mirror maker finish backup, then find have lose the first message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)