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

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

GitHub user granthenke opened a pull request:

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

    KAFKA-2589: the default value for the "rebalance.backoff.ms" property…

    … is not specified correctly

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

    $ git pull https://github.com/granthenke/kafka rebalance-doc

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

    https://github.com/apache/kafka/pull/876.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 #876
    
----
commit 746a3cc88b05cc26e727b66ae808148066a07f1f
Author: Grant Henke <granthe...@gmail.com>
Date:   2016-02-05T05:09:09Z

    KAFKA-2589: the default value for the "rebalance.backoff.ms" property is 
not specified correctly

----


> Documentation bug: the default value for the "rebalance.backoff.ms" property 
> is not specified correctly
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-2589
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2589
>             Project: Kafka
>          Issue Type: Bug
>          Components: config
>    Affects Versions: 0.8.2.1
>         Environment: any
>            Reporter: Bogdan Dimitriu
>            Assignee: Grant Henke
>
> The documentation for 0.8.2.1 consumer properties specifies:
> | rebalance.backoff.ms | 2000 | Backoff time between retries during rebalance 
> |
> According to the source code though the default value is obtained this way:
> {code}
> val rebalanceBackoffMs = props.getInt("rebalance.backoff.ms", zkSyncTimeMs)
> {code}
> which is referenced from here:
> {code}
> val zkSyncTimeMs = props.getInt("zookeeper.sync.time.ms", 2000)
> {code}
> So by default it is 2000 as specified in the documentation, UNLESS the 
> {{zookeeper.sync.time.ms}} is manually set to be different
> This may create confusion with recommendations such:
> {quote}
> In the case, make sure that rebalance.max.retries * rebalance.backoff.ms > 
> zookeeper.session.timeout.ms
> {quote}
> from here: 
> https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-Whyaretheremanyrebalancesinmyconsumerlog?



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

Reply via email to