lhotari opened a new pull request, #25011: URL: https://github.com/apache/pulsar/pull/25011
### Motivation In Pulsar, the individual partitions of a topic all share the same schema. Currently the client and geo-replication logic in the broker, lookup schemas for each individual topics when a specific version of the schema is requested. For partitioned topics, this adds extra delays when unnecessary calls are made for every partition when it could be shared. ### Modifications When calling `client.getSchemaProviderLoadingCache().get`, pass the partitioned topic name as the parameter instead of the topic name when the topic is an individual partitioned topic (contains "-partition-\d+" suffix). ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- 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]
