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

No response when deleting topics and delete.topic.enable=false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.0.0
    • 2.1.0
    • core
    • None

    Description

      When trying to delete topics using the KafkaAdminClient and the flag in server config is set as 'delete.topic.enable=false', the client cannot get a response and fails returning a timeout error. This is due to the object DelayedCreatePartitions cannot complete the operation.

      This bug fix modifies the KafkaApi key DELETE_TOPICS taking into account that the flag can be disabled and swallow the error to the client, this is, the topic is never removed and no error is returned to the client.

      Attachments

        Issue Links

          Activity

            People

              mmolimar Mario Molina
              mmolimar Mario Molina
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: