[jira] [Commented] (KAFKA-3834) Consumer should not block in poll on coordinator discovery

2020-06-08 Thread Ruslan Dautkhanov (Jira)


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

Ruslan Dautkhanov commented on KAFKA-3834:
--

That's great this issue is fixed on the discovery side. We had a production 
stream and after connectivity got lost for all Kafka brokers, it went to the 
same hanging state.. Is there is a way to make an existing / running stream on 
Kafka client / consumer fail same way - if source Kafka cluster isn't available 
for an extended period of time? Thanks!

> Consumer should not block in poll on coordinator discovery
> --
>
> Key: KAFKA-3834
> URL: https://issues.apache.org/jira/browse/KAFKA-3834
> Project: Kafka
>  Issue Type: Improvement
>  Components: consumer
>Reporter: Jason Gustafson
>Assignee: Jason Gustafson
>Priority: Major
> Fix For: 2.0.0
>
>
> Currently we block indefinitely in poll() when discovering the coordinator 
> for the group. Instead, we can return an empty record set when the passed 
> timeout expires. The downside is that it may obscure the underlying problem 
> (which is usually misconfiguration), but users typically have to look at the 
> logs to figure out the problem anyway. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KAFKA-3834) Consumer should not block in poll on coordinator discovery

2017-07-16 Thread Abhishek Agarwal (JIRA)

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

Abhishek Agarwal commented on KAFKA-3834:
-

[~hachikuji] If the ips are misconfigured or the broker is not available, then 
group_coordinator_request will never be sent to that node. Isn't it? Won't the 
lookupCoordinator() call itself fail, before the client blocks itself in 
awaitMetadataUpdate()

> Consumer should not block in poll on coordinator discovery
> --
>
> Key: KAFKA-3834
> URL: https://issues.apache.org/jira/browse/KAFKA-3834
> Project: Kafka
>  Issue Type: Improvement
>  Components: consumer
>Reporter: Jason Gustafson
>Assignee: Jason Gustafson
>
> Currently we block indefinitely in poll() when discovering the coordinator 
> for the group. Instead, we can return an empty record set when the passed 
> timeout expires. The downside is that it may obscure the underlying problem 
> (which is usually misconfiguration), but users typically have to look at the 
> logs to figure out the problem anyway. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)