V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
zhixinli
V2EX  ›  问与答

关于 Spring Cloud Data Flow 的使用问题,希望得到指点

  •  
  •   zhixinli · 2019-04-11 14:04:11 +08:00 · 1380 次点击
    这是一个创建于 1886 天前的主题,其中的信息可能已经有所发展或是发生改变。

    需求

    使用 Spring Cloud Data Flow 完成将 mysql 数据库通过 Http 调用同步到另外一个系统,

    尝试方式

    I tried to combine spring-cloud-starter-stream-source-jdbc and spring-cloud-starter-stream-processor-httpclient. Instead, I got spring-cloud-starter-stream-source-jdbc without main class error.

    诉求

    我该如何去做呢?使用 job/task?

    第 1 条附言  ·  2019-04-12 09:09:55 +08:00
    问题已经解决
    1 条回复    2019-04-12 09:09:32 +08:00
    zhixinli
        1
    zhixinli  
    OP
       2019-04-12 09:09:32 +08:00
    Thanks , I've solved the problem.

    PROBLEM SOLVING:At first, I reconstructed it with reference to the https://github.com/spring-cloud/spring-cloud-stream-samples/tree/master/source-samples/jdbc-source . I added main class and rabbit binder. The stream is running as scheduled. I didn't think it was supposed to be this complicated, and then I switched to jdbc-source-rabbit, which is exactly what I expected
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1669 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:31 · PVG 08:31 · LAX 17:31 · JFK 20:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.