[ 
https://issues.apache.org/jira/browse/KAFKA-15867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Nee updated KAFKA-15867:
-------------------------------
        Parent: KAFKA-14246
    Issue Type: Sub-task  (was: Bug)

> Should ConsumerNetworkThread wrap the exception and notify the polling thread?
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-15867
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15867
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: consumer
>            Reporter: Philip Nee
>            Priority: Minor
>
> The ConsumerNetworkThread runs a tight loop infinitely.  However, when 
> encountering an unexpected exception, it logs an error and continues.
>  
> I think this might not be ideal because user can run blind for a long time 
> before discovering there's something wrong with the code; so I believe we 
> should propagate the throwable back to the polling thread. 
>  
> cc [~lucasbru] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to