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

ASF GitHub Bot commented on KAFKA-3157:
---------------------------------------

GitHub user xiaotao183 reopened a pull request:

    https://github.com/apache/kafka/pull/821

    KAFKA-3157 - Mirror maker doesn't commit offset

    Mirror maker doesn't commit offset with new consumer enabled when data 
volume is low. This is caused by infinite loop in ```receive()``` which would 
never jump out of loop if no data coming

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/xiaotao183/kafka KAFKA-3157

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/821.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 #821
    
----
commit c3221c0d0391080889ab899f8570b629561a8529
Author: Tao Xiao <xiaotao...@gmail.com>
Date:   2016-01-28T07:42:27Z

    KAFKA-3157 - Mirror maker doesn't commit offset with new consumer enabled 
if data volume is low

commit f674012525cc17b6d68e18ccf8819f9e84936ef9
Author: Tao Xiao <xiaotao...@gmail.com>
Date:   2016-02-02T10:58:09Z

    Reuse NewShinyConsumer receive to make receive behavior in mirror maker 
consistent across the board

commit 18fe1a60ddcc2b75d357f664bdedb5cebfb5bb3a
Author: Tao Xiao <xiaotao...@gmail.com>
Date:   2016-02-02T11:12:58Z

    add parentheses to next

commit 3f193b04ab9fa6f2abaf80b07c259cbf8fb5dba2
Author: Tao Xiao <xiaotao...@gmail.com>
Date:   2016-02-02T11:14:31Z

    avoid whitespace in empty line

----


> Mirror maker doesn't commit offset with new consumer when there is no more 
> messages
> -----------------------------------------------------------------------------------
>
>                 Key: KAFKA-3157
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3157
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.9.0.0
>            Reporter: TAO XIAO
>            Assignee: TAO XIAO
>             Fix For: 0.9.0.1
>
>
> Mirror maker doesn't commit messages with new consumer enabled when messages 
> are sent to source within the time range that is smaller than commit interval 
> and no more messages are sent afterwards.
> The steps to reproduce:
> 1. Start mirror maker.
> 2. The default commit interval is 1 min. Send message for less than 1 min for 
> example 10 seconds.
> 3. Don't send more messages.
> 4. Check committed offset with group command. The lag remains unchanged for 
> ever even though the messages have been sent to destination.



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

Reply via email to