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

TO does not handle renaming of generated CR

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: topic-operator
    • Labels:
      None

      Description

      TO creates KafkaTopic resources named like this 

       

      consumer-offsets---84e7a678d08f4bd226872e5cdd4eb527fadc1c6a
      

      If the user wants to rename this CR, a few steps are needed to be done:

      • disable the TO
      • delete the old CR with the name ‘kafka-topic-name’+‘hash’
      • create a CR with the name ‘kafka-topic-name’
      • delete TO internal storage deleteall /strimzi
      • enable the TO

       

      There are some misbehaviors observed.

      Before these steps, the TO log contains a message

      ZkTopicsWatcher:153 - 6|/brokers/topics 3:+__consumer_offsets: Error responding to creation of topic __consumer_offsets
      org.apache.kafka.common.errors.UnknownTopicOrPartitionException: 
      

      After these steps, there are more suspicious messages. After 15 minutes even another KafkaTopic with the name 'topicname—hash' is created.

        Attachments

        1. tolog_after.txt
          694 kB
        2. tolog_before.txt
          184 kB

          Activity

            People

            Assignee:
            tombentley Tom Bentley
            Reporter:
            sknot Stanislav Knot
            Tester:
            Jakub Stejskal Jakub Stejskal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: