Kafka
  1. Kafka
  2. KAFKA-652

Create testcases for clean shut-down

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Issue Links

        Activity

        Hide
        John Fung added a comment - - edited

        This test will be set up as followings:
        1. Configure a cluster of 4 brokers (for the convenience of rolling bounce)
        2. Start ProducerPerformance to keep sending messages on 20 topics (acks = -1)
        3. For each brokerid:
        a. call the following command:
        bin/kafka-run-class.sh kafka.admin.ShutdownBroker
        --broker <id>
        --num.retries <n>
        --zookeeper <zkconnectstr>
        --retry.interval.ms <n>
        b. terminate the broker with kill -15
        c. bring up the broker again
        4. Verify if there is data loss with ConsoleConsumer

        Show
        John Fung added a comment - - edited This test will be set up as followings: 1. Configure a cluster of 4 brokers (for the convenience of rolling bounce) 2. Start ProducerPerformance to keep sending messages on 20 topics (acks = -1) 3. For each brokerid: a. call the following command: bin/kafka-run-class.sh kafka.admin.ShutdownBroker --broker <id> --num.retries <n> --zookeeper <zkconnectstr> --retry.interval.ms <n> b. terminate the broker with kill -15 c. bring up the broker again 4. Verify if there is data loss with ConsoleConsumer
        Hide
        John Fung added a comment -

        Uploaded kafka-652-v1.patch which contains the following testcases:

        testcase_9061 (4 brokers, 20 topics)
        testcase_9062 (4 brokers, 50 topics)

        Show
        John Fung added a comment - Uploaded kafka-652-v1.patch which contains the following testcases: testcase_9061 (4 brokers, 20 topics) testcase_9062 (4 brokers, 50 topics)

          People

          • Assignee:
            Unassigned
            Reporter:
            John Fung
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development