Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14337

topic name with "." cannot be created after deletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.3.1
    • 3.4.0, 3.3.2
    • kraft
    • None
    • Important

    Description

      Hi admin,

      My issue is after i create topic like topic.AAA or Topic.AAA.01 then delete 1 of the other 2 topics.

      Then i can't create 1 of the 2 topics.

      But i create topic test123 then delete and recreate fine.

      This is log i tried to create topic.AAA

      WARN [Controller 1] createTopics: failed with unknown server exception NoSuchElementException at epoch 14 in 193 us.  Renouncing leadership and reverting to the last committed offset 28. (org.apache.kafka.controller.QuorumController)
      java.util.NoSuchElementException
              at org.apache.kafka.timeline.SnapshottableHashTable$CurrentIterator.next(SnapshottableHashTable.java:167)
              at org.apache.kafka.timeline.SnapshottableHashTable$CurrentIterator.next(SnapshottableHashTable.java:139)
              at org.apache.kafka.timeline.TimelineHashSet$ValueIterator.next(TimelineHashSet.java:120)
              at org.apache.kafka.controller.ReplicationControlManager.validateNewTopicNames(ReplicationControlManager.java:799)
              at org.apache.kafka.controller.ReplicationControlManager.createTopics(ReplicationControlManager.java:567)
              at org.apache.kafka.controller.QuorumController.lambda$createTopics$7(QuorumController.java:1832)
              at org.apache.kafka.controller.QuorumController$ControllerWriteEvent.run(QuorumController.java:767)
              at org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:121)
              at org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:200)
              at org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:173)
              at java.base/java.lang.Thread.run(Thread.java:829)

      ERROR [Controller 1] processBrokerHeartbeat: unable to start processing because of NotControllerException. (org.apache.kafka.controller.QuorumController)

       

      I'm run kafka mode Kraft !!!

      Tks admin.

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              thanhnd96 thanhnd96
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: