Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15867

Should ConsumerNetworkThread wrap the exception and notify the polling thread?

    XMLWordPrintableJSON

Details

    Description

      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 

      Attachments

        Issue Links

          Activity

            People

              phuctran Phuc Hong Tran
              pnee Philip Nee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: