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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0.0
    • Fix Version/s: 2.1.0
    • Component/s: core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: