mattisonchao commented on PR #19230: URL: https://github.com/apache/pulsar/pull/19230#issuecomment-1383001914
> `Whether the deletTopic can delete topic with the keyword -partition- ?` Please take a look at the test. We not only need to delete the topic but also topic metadata. >The root cause of this problem is that the conditions for creating partitioned topic by the Admin API and the Client API are inconsistent, as below: Yes, that is the root cause, but we should consider the compatibility for some users using current behaviour. e.g., they have created this kind of topic but can't delete it. >It is introduce in https://github.com/apache/pulsar/pull/6846 We didn't limit all the cases. e.g. persistent://public/default/aaa-partition-bbb This topic name can still create partitioned topic metadata. >So I think we should not modify the delete operation (revert this PR), then keep the behavior consistent for creating partitioned topic by theAdmin API and the Client API (create a new PR). If you have any good way to solve the problem I mentioned, I would be pleased to revert the current PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
