Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14246 Update threading model for Consumer
  3. KAFKA-15562

Ensure fetch offset and commit offset handler handles both timeout and various error types

    XMLWordPrintableJSON

Details

    Description

      Both fetchOffsetRequest and commitOffsetRequest handlers don't have sufficient logic to handle timeout exception.

       

      CommitOffsetRequest handler also doesn't handle various of server error such as coordinator not found. We need to handle:

      If Exception is non null:

       - handle RetriableError that respects requestTimeoutMs

       - handle NonRetriableError

       

      If the response contains error, ensure to:

       - mark coordinator unknown if needed

       - retry if needed

       - fail the request

      Attachments

        Activity

          People

            pnee Philip Nee
            pnee Philip Nee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: