aparajita89 commented on code in PR #14102:
URL: https://github.com/apache/pulsar/pull/14102#discussion_r853960320


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java:
##########
@@ -706,8 +707,9 @@ public void start() throws PulsarServerException {
             this.startNamespaceService();
 
             schemaStorage = createAndStartSchemaStorage();
-            schemaRegistryService = SchemaRegistryService.create(
-                    schemaStorage, 
config.getSchemaRegistryCompatibilityCheckers());
+            ensureSchemaRegistryName(schemaStorage);

Review Comment:
   you are right, schemaStorage can never be null. i had only kept this null 
check to retain the existing logic. i have removed it now.



-- 
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]

Reply via email to