You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Vincent Maurin (JIRA)" <ji...@apache.org> on 2017/08/23 09:11:00 UTC
[jira] [Created] (KAFKA-5770) AdminClient.deleteTopics future
complete but topic is still here
Vincent Maurin created KAFKA-5770:
-------------------------------------
Summary: AdminClient.deleteTopics future complete but topic is still here
Key: KAFKA-5770
URL: https://issues.apache.org/jira/browse/KAFKA-5770
Project: Kafka
Issue Type: Bug
Components: clients
Reporter: Vincent Maurin
Attachments: Main.java
After running some tests, it appears that a deleteTopics command futures are completed even if the topic is still present on the broker.
If it is the expected behavior, it should be documented accordingly, but it is not very convenient for integration tests for example, when we create and delete topics on each tests
I am attaching a example java file that creates and deletes a bunch of topic in a loop. Usually I got an error on the second loop saying that the topic already exists
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)