eolivelli commented on code in PR #14102:
URL: https://github.com/apache/pulsar/pull/14102#discussion_r842947287
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java:
##########
@@ -1285,6 +1286,13 @@ private SchemaStorage createAndStartSchemaStorage()
throws Exception {
return schemaStorage;
}
+ private void setSchemaRegistryName(SchemaStorage schemaStorage) {
+ String schemaRegistryClassName =
"org.apache.pulsar.broker.service.schema.DefaultSchemaRegistryService";
Review Comment:
please create a constant
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java:
##########
@@ -1285,6 +1286,13 @@ private SchemaStorage createAndStartSchemaStorage()
throws Exception {
return schemaStorage;
}
+ private void setSchemaRegistryName(SchemaStorage schemaStorage) {
Review Comment:
the name is not very clear
what about 'ensureSchemaRegistryClassName' ?
--
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]