Search code examples
apache-flinkflink-sql

Flink SQL Client connect to non local cluster


Is it possible to connect the flink sql client to a remote cluster? I assume the client uses some configuration to determine job manager address, but I don’t see it mentioned in docs.


Solution

  • Yes, that's possible.

    You can configure the connection to a remote cluster in the conf/flink-conf.yaml file:

    jobmanager.rpc.address: localhost
    jobmanager.rpc.port: 6123