merlimat opened a new pull request, #25456: URL: https://github.com/apache/pulsar/pull/25456
## Summary - Add `topic://` and `segment://` topic domains to support [PIP-460: Scalable Topics](https://github.com/apache/pulsar/blob/master/pip/pip-460.md) - `topic://` represents a scalable topic parent; `segment://` represents individual persistent segments with hash-range descriptors (e.g., `segment://tenant/ns/topic/0000-7fff-1`) - Extend `TopicName` with parsing, persistence encoding, and accessors for the new domains - Add `HashRange`, `SegmentInfo`, `SegmentTopicName` utility classes in `pulsar-common` - Add comprehensive tests for naming, storage paths, schema names, and round-trip persistence encoding ## Test plan - [x] `TopicNameTest` — parsing, persistence encoding, schema names, lookup names, rest paths, segment descriptors for both new domains - [x] `HashRangeTest` — range validation, overlap detection, containment, adjacency - [x] `SegmentTopicNameTest` — segment topic name construction and accessors -- 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]
