mlyahmed commented on issue #9173: URL: https://github.com/apache/pulsar/issues/9173#issuecomment-789016596
@codelipenghui can you please share more details on the way you proceed to reproduce the issue ? Here is how I've tested and the results. ### Auto Creation **Enabled** By keeping the auto-creation enabled, `allowAutoTopicCreation=true`, I created a **non-persistent partitioned topic**: ` bin/pulsar-admin topics create-partitioned-topic non-persistent://public/default/issue-9173 -p 3` The partitioned topic is created **but not the partitions**. When I create a new subscription or a producer the partitions are created **but also a regular topic with the same as the partitioned topic** :  After a certain time of inactivity, the regular topic, auto-created, is deleted. The partitioned topic and its partitions are not deleted. ### Auto Creation **Disabled** By disabling the auto-creation, `allowAutoTopicCreation=false`, I noticed the same behavior except that after a certain time of inactivity both the partitions and the regular topic, auto-created, are deleted. The partitioned topic is kept. Hence the partitions are auto-created even when the auto-creation is disabled. **The "odd" behavior that I noticed is the auto-creation of that regular topic with the same name as the partitioned topic.** Pulsar version: 2.7.0 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
