自学内容网 自学内容网

Flink-1.18.1环境搭建

下载

下载flink安装包

Index of /dist/flink/flink-1.18.1

下载flink-cdc安装包

Release Release 3.0.0 · ververica/flink-cdc-connectors · GitHub

安装

添加环境变量

vi ~/.bash_profile

export FLINK_HOME=/home/postgres/flink/flink-1.18.1

export PATH=$PATH:$FLINK_HOME/bin

source ~/.bash_profile

参数修改

vi ${FLINK_HOME}/conf/flink-conf.yaml

rest.bind-address: 0.0.0.0

rest.address: 0.0.0.0

启动服务

不要用sh命令启动,因为这样看第三行报错:bin/config.sh: line 32: ` done < <(find "$FLINK_LIB_DIR" ! -type d -name '*.jar' -print0 | sort -z)'

第 32 行的语法在 sh 中是不支持的,


原文地址:https://blog.csdn.net/hqwang4/article/details/136045931

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!