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 中是不支持的,

相关推荐

  1. Flink-1.18.1环境

    2024-02-06 02:44:02       60 阅读
  2. 【极数系列】docker环境Flink1.18版本(04)

    2024-02-06 02:44:02       47 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-06 02:44:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-06 02:44:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-06 02:44:02       82 阅读
  4. Python语言-面向对象

    2024-02-06 02:44:02       91 阅读

热门阅读

  1. element-plus 更换主题色

    2024-02-06 02:44:02       55 阅读
  2. C Primer Plus(第六版)15.9 编程练习 第6题

    2024-02-06 02:44:02       48 阅读
  3. ES6-let

    ES6-let

    2024-02-06 02:44:02      37 阅读
  4. 记一次Mysql加字段加不上问题排查过程

    2024-02-06 02:44:02       55 阅读
  5. NCCL 源码详解总目录

    2024-02-06 02:44:02       52 阅读
  6. 多线程与socket编程

    2024-02-06 02:44:02       57 阅读
  7. nginx负载均衡

    2024-02-06 02:44:02       51 阅读
  8. Blender 的重拓扑功能中的参数,

    2024-02-06 02:44:02       47 阅读
  9. salesforce flow 如何保存多选列表选中的值

    2024-02-06 02:44:02       50 阅读