You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/05/14 08:23:13 UTC

[jira] [Commented] (KAFKA-2998) Log warnings when client is disconnected from bootstrap brokers

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

Ismael Juma commented on KAFKA-2998:
------------------------------------

I updated the title to match what was actually implemented.

> Log warnings when client is disconnected from bootstrap brokers
> ---------------------------------------------------------------
>
>                 Key: KAFKA-2998
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2998
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.9.0.0
>            Reporter: Florian Hussonnois
>            Assignee: Jason Gustafson
>            Priority: Minor
>             Fix For: 0.10.0.0
>
>
> If no broker from bootstrap.servers is available consumer retries indefinitely with debug log message :
>  
> DEBUG 17:16:13 Give up sending metadata request since no node is available
> DEBUG 17:16:13 Initialize connection to node -1 for sending metadata request
> DEBUG 17:16:13 Initiating connection to node -1 at localhost:9091.
> At least, an ERROR message should be log after a number of retries.
> In addition, maybe the consumer should fail in a such case ? This behavior could be set by a configuration property ?



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