Admin-client doesn't handle situations when topics are in "marked for deletion" state
im-konge opened this issue · comments
During our testing we are usually creating, deleting, and then recreating the Kafka topics in relatively quick way (and after few seconds/minutes), so we are sometimes hitting issues that topic that we want to recreate is in marked for deletion
state.
This "label" cannot be listed using the listTopics()
or anything like that.
We should investigate how we can fix this - either waiting in the delete
method for the actual deletion (trying to delete it with some error handling + having some kind of --wait
flag) or try to create the topic multiple times.
Yikes this has not picked yet
Hey @kasanitej
Not yet, yes. We didn't discussed the approach on how we should fix this.
Would you like to take a look at that?
Or you are waiting for this to be fixed in the test-clients?