Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-2085

All KafkaTopic custom resources are deleted and recreated when restarting kafka and zookeeper at the same time

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 1.7.0.GA
    • None
    • None
      • Use rolling update
    • Hide
      1. Setup a Kafka cluster and a Zookeeper
      2. Create several Kafka Topic CRs
      3. Execute the following command
        #!/bin/bash
        oc delete pods my-cluster-zookeeper-0 --grace-period=0 --force
        oc delete pods my-cluster-zookeeper-1 --grace-period=0 --force
        oc delete pods my-cluster-zookeeper-2 --grace-period=0 --force
        oc delete pods my-cluster-kafka-0 --grace-period=0 --force
        oc delete pods my-cluster-kafka-1 --grace-period=0 --force
        oc delete pods my-cluster-kafka-2 --grace-period=0 --force
        
      4. Wait for a while (It will take 5 mintutes)
      5. ==> All the KafkaTopic CRs will be deleted and recreated
      Show
      Setup a Kafka cluster and a Zookeeper Create several Kafka Topic CRs Execute the following command #!/bin/bash oc delete pods my-cluster-zookeeper-0 --grace-period=0 --force oc delete pods my-cluster-zookeeper-1 --grace-period=0 --force oc delete pods my-cluster-zookeeper-2 --grace-period=0 --force oc delete pods my-cluster-kafka-0 --grace-period=0 --force oc delete pods my-cluster-kafka-1 --grace-period=0 --force oc delete pods my-cluster-kafka-2 --grace-period=0 --force Wait for a while (It will take 5 mintutes) ==> All the KafkaTopic CRs will be deleted and recreated

    Description

      • All the KafkaTopic CRs are deleted and recreated using Kafka's actual topic information when to restart Kafka and zookeeper at the same time

      Attachments

        Activity

          People

            tbentley-1 Tom Bentley
            rhn-support-tyamashi Tomonari Yamashita
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: