Flink常用的配置引數總結

fragrans發表於2020-12-20

1. rest.port

改引數預設值是8081,

#rest.port: 8081

該配置是 rest client連線時的埠,如果rest.bind-port沒有指定特定的埠值,那麼該埠預設是8081;如果rest.bin-port被設定了特定的值,則該rest.port=rest.bin-port

//flink-conf.yaml中對該引數的解釋
# The port to which the REST client connects to. If rest.bind-port has
# not been specified, then the server will bind to this port as well.

2. rest.bind-port

改引數的值是一個埠範圍,在flink啟動的時候,會從8080開啟,選取一個可用的埠,作為rest.bind-port的值

//flink-conf.yaml檔案中對該引數的說明如下
# Port range for the REST and web server to bind to.
#
#rest.bind-port: 8080-8090

 

相關文章