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

Add integration test for consumer coordinator

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • consumer
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: