[broker] Allow to update Topic properties
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Motivation
Currently (Pulsar 2.11) it is possible to create a topic and set "topic properties", but it is not possible to change them later.
It would be useful to have an API to update the properties.
Also, internal components (like Protocol Handlers) should be notified about these changes, possibly using the mechanism introduced by PIP-241 https://github.com/apache/pulsar/issues/19224
### Solution
_No response_
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Research direction
Start by reviewing the existing topic-property creation API and PIP-241, which the issue identifies as a possible notification mechanism. Determine the required update API and how protocol handlers or other internal components should learn about changes; done requires both property updates and notification behavior to be defined and covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100