gaborgsomogyi commented on code in PR #23406:
URL: https://github.com/apache/flink/pull/23406#discussion_r1329637581


##########
flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java:
##########
@@ -80,6 +80,23 @@ public class RestOptions {
                     .withDescription(
                             "The address that should be used by clients to 
connect to the server. Attention: This option is respected only if the 
high-availability configuration is NONE.");
 
+    /** The path that should be used by clients to interact with the server. */
+    @Documentation.Section(Documentation.Sections.COMMON_HOST_PORT)
+    public static final ConfigOption<String> PATH =
+            key("rest.path")
+                    .stringType()
+                    .defaultValue("")
+                    .withDescription(
+                            "The path that should be used by clients to 
interact to the server which is accessible via URL.");
+
+    /** The protocol that should be used by clients to interact with the 
server. */
+    @Documentation.Section(Documentation.Sections.COMMON_HOST_PORT)
+    public static final ConfigOption<String> PROTOCOL =
+            key("rest.protocol")
+                    .stringType()
+                    .defaultValue("http")
+                    .withDescription("The protocol to be used for rest 
endpoint");

Review Comment:
   +1 on using `SSL_REST_ENABLED`



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to