ammu20-dev commented on code in PR #26378:
URL: https://github.com/apache/flink/pull/26378#discussion_r2044473804


##########
docs/content/docs/dev/table/sqlClient.md:
##########
@@ -69,6 +69,12 @@ In the gateway mode, the CLI submits the SQL to the 
specified remote gateway to
 
 The `<gateway address>` can be provided in two formats: as a `host:port` 
combination or as a full URL.
 
+You can also override the default job manager configuration in SQL client by 
explicitly providing the cluster address while initialising the client as below:
+
+```bash
+./bin/sql-client.sh gateway --endpoint <gateway address> -Drest.address=<flink 
cluster host> -Drest.port=<port>

Review Comment:
   The SQL Client documentation 
[here](https://nightlies.apache.org/flink/flink-docs-release-2.0/docs/dev/table/sqlclient/#starting-the-sql-client-cli)
 mentions `The <gateway address> can be provided in two formats: as a host:port 
combination or as a full URL.` So endpoint is the gateway address to which the 
SQL Client should connect to and 
[rest.address](https://nightlies.apache.org/flink/flink-docs-release-2.0/docs/deployment/config/#rest-address)
 and 
[rest.port](https://nightlies.apache.org/flink/flink-docs-release-2.0/docs/deployment/config/#rest-port)
 are the JM host and port respectively.



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