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.
KAFKA-4690 IllegalStateException using DeleteTopicsRequest when delete.topic.enable=false
- links to
- mentioned in