Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1326 New consumer checklist
  3. KAFKA-2274

Add integration test for consumer coordinator

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: consumer
    • Labels:
      None

      Description

      As discussed with Onur offline, here are some things we could test / simulate:

      • consumer kill -9 (tested in ConsumerTest)
      • broker kill -9 (tested in ConsumerTest)
      • consumer very long GC
      • broker very long GC
      • consumer network cable unplugged
      • broker network cable unplugged
      • consumer power cord unplugged
      • broker power cord unplugged

      Quoting Onur: " Another motivating factor is to verify if response.wasDisconnected is good enough or if we actually need consumers to detect coordinator failures with timeouts.

      GC’s can be simulated with SIGSTOP and SIGCONT. I think we might be able to simulate network cable being unplugged with "ifconfig eth0 down”, but I’m not sure."

        Attachments

          Activity

            People

            • Assignee:
              hachikuji Jason Gustafson
              Reporter:
              guozhang Guozhang Wang
              Reviewer:
              Guozhang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: