Enable or disable topic auto creation for non-persistent topic.
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 142
Description
**Is your feature request related to a problem? Please describe.**
Currently, we can disable the topic auto creation at broker side, but for non-persistent topic, disable topic auto creation isn't works well.
Unlike persistent topic, we need to create mledger znode in zookeeper, non-persistent topic only maintained in broker, so must allow topic auto creation for non-persistent topic now.
But we also need to disable the non-persistent topic auto creation for topic management.
**Describe the solution you'd like**
Add support for disable non-persistent topic auto creation.
**Describe alternatives you've considered**
Since we just need to store the created non-persistent topics, i'd like to use a system topic to store the non-persistent topic create or delete log and the broker cache the non-persistent topics which is belongs to owned bundles.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing the broker-side topic auto-creation behavior described in the issue, including how non-persistent topics are maintained and how persistent topics use ZooKeeper. Done means non-persistent topic creation can be disabled for topic management without breaking the required broker handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100