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

New consumer HeartbeatRequestManager should rediscover disconnected coordinator

    XMLWordPrintableJSON

Details

    Description

      The HeartbeatRequestManager attempts to send heartbeat requests to the coordinator. In the case that it gets a DisconnectException, it simply retries the request with backoff (here), but it should rediscover the coordinator first (by calling "markCoordinatorUnknown") to ensure it sends the HBs to the right coordinator. 

      Note that this disconnection case are properly handled in the CommitRequestManager (here) but are missing in the HeartbeatRequestManager.

      Attachments

        Issue Links

          Activity

            People

              frankvicky TengYao Chi
              lianetm Lianet Magrans
              Lianet Magrans Lianet Magrans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: