Kafka
  1. Kafka
  2. KAFKA-868

System Test - add test case for rolling controlled shutdown

    Details

    • Type: Task Task
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    1. kafka-868-v1.patch
      52 kB
      John Fung
    2. kafka-868-v2.patch
      52 kB
      John Fung
    3. kafka-868-v3.patch
      52 kB
      John Fung

      Activity

      John Fung made changes -
      Attachment kafka-868-v3.patch [ 12580753 ]
      Hide
      John Fung added a comment -

      Uploaded kafka-868-v3.patch after latest 0.8 branch rebase

      Show
      John Fung added a comment - Uploaded kafka-868-v3.patch after latest 0.8 branch rebase
      John Fung made changes -
      Attachment kafka-868-v2.patch [ 12579898 ]
      Hide
      John Fung added a comment -

      Uploaded kafka-868-v2.patch with the following change :

      At the end of each iteration, rename producer & consumer logs instead of deleting the files for future troubleshooting.

      Show
      John Fung added a comment - Uploaded kafka-868-v2.patch with the following change : At the end of each iteration, rename producer & consumer logs instead of deleting the files for future troubleshooting.
      John Fung made changes -
      Status Open [ 1 ] Patch Available [ 10002 ]
      John Fung made changes -
      Field Original Value New Value
      Attachment kafka-868-v1.patch [ 12579867 ]
      Hide
      John Fung added a comment -

      Uploaded kafka-868-v1.patch

      Show
      John Fung added a comment - Uploaded kafka-868-v1.patch
      Hide
      John Fung added a comment -

      Adding a case (testcase_9061) to test rolling controlled shutdown as follow :
      1. Start Zookeeper
      2. Start Broker cluster (7 machines) with Replication factor 2, 5 topics, 2 partitions
      3. Settings in #2 can be configured at clean_shutdown_testsuite/testcase_9061/testcase_9061_properties.json
      4. For each iteration :
      5. Start ConsoleConsumer in the background
      6. Start ProducerPerformance in the background to keep sending messages to all topics
      7. For each broker :
      8. Call kafka.admin.ShutdownBroker
      9. Bounce the broker
      10. Call kafka-preferred-replica-election.sh
      11. Call kafka-list-topic.sh to find the number of under replicated partitions
      12. Validate data matched for this iteration
      13. Validate for "Failed to send" messages in producer
      14. Clean up producer & consumer logs

      Show
      John Fung added a comment - Adding a case (testcase_9061) to test rolling controlled shutdown as follow : 1. Start Zookeeper 2. Start Broker cluster (7 machines) with Replication factor 2, 5 topics, 2 partitions 3. Settings in #2 can be configured at clean_shutdown_testsuite/testcase_9061/testcase_9061_properties.json 4. For each iteration : 5. Start ConsoleConsumer in the background 6. Start ProducerPerformance in the background to keep sending messages to all topics 7. For each broker : 8. Call kafka.admin.ShutdownBroker 9. Bounce the broker 10. Call kafka-preferred-replica-election.sh 11. Call kafka-list-topic.sh to find the number of under replicated partitions 12. Validate data matched for this iteration 13. Validate for "Failed to send" messages in producer 14. Clean up producer & consumer logs
      John Fung created issue -

        People

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

          Dates

          • Created:
            Updated:

            Development