V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qwzhang01
V2EX  ›  数据库

Flink CDC MySQL 同步数据至 MongoDB,一直报错 Could not find any factory for identifier 'mongodb' that implements ,请问我哪里姿势不对呢?

  •  
  •   qwzhang01 · 145 天前 · 985 次点击
    这是一个创建于 145 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这个是安装脚本
    version: '3'
    services:
    jobmanager:
    image: flink:1.16.1-java8
    expose:
    - "6123"
    ports:
    - "8081:8081"
    command: jobmanager
    volumes:
    - ./flink-checkpoints:/opt/flink/flink-checkpoints
    - ./flink-savepoints:/opt/flink/flink-savepoints
    - ./logs/job:/opt/flink/log
    - ./runjob:/opt/flink/usrlib
    environment:
    JOB_MANAGER_RPC_ADDRESS: jobmanager
    TZ: Asia/Shanghai
    taskmanager:
    image: flink:1.16.1-java8
    expose:
    - "6121"
    - "6122"
    depends_on:
    - jobmanager
    command: taskmanager
    volumes:
    - ./flink/flink-checkpoints:/opt/flink/flink-checkpoints
    - ./flink/flink-savepoints:/opt/flink/flink-savepoints
    - ./flink/log/mngr:/opt/flink/log
    - ./flink/runjob:/opt/flink/usrlib
    links:
    - "jobmanager:jobmanager"
    environment:
    JOB_MANAGER_RPC_ADDRESS: jobmanager
    TZ: Asia/Shanghai
    2 条回复    2024-07-30 16:36:49 +08:00
    zhenjiachen
        1
    zhenjiachen  
       144 天前
    没有导入 cdc 的包吧
    hero1874
        2
    hero1874  
       144 天前
    缺少包 看一下对应的包是否存在。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2157 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 01:13 · PVG 09:13 · LAX 17:13 · JFK 20:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.