coderzc commented on code in PR #17296:
URL: https://github.com/apache/pulsar/pull/17296#discussion_r967579672


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -158,22 +161,25 @@ public class ServiceConfiguration implements 
PulsarConfiguration {
     @FieldContext(
             category = CATEGORY_SERVER,
             required = false,
-            doc = "The metadata store URL for the configuration data. If 
empty, we fall back to use metadataStoreUrl"
+            doc = """
+                    The metadata store URL for the configuration data. If 
empty, we fall back to use metadataStoreUrl"""
     )
     private String configurationMetadataStoreUrl;
 
     @FieldContext(
         category = CATEGORY_SERVER,
-        doc = "The port for serving binary protobuf requests."
-            + " If set, defines a server binding for 
bindAddress:brokerServicePort."
-            + " The Default value is 6650."
+        doc = """
+             The port for serving binary protobuf requests. \
+             If set, defines a server binding for 
bindAddress:brokerServicePort. \
+             The Default value is 6650."""

Review Comment:
   Also can fully left justify a wide string in order to avoid horizontal 
scrolling or line wrapping, see: 
https://docs.oracle.com/en/java/javase/15/text-blocks/index.html#style-guidelines-for-text-blocks
  G10



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