V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zhixinli
V2EX  ›  问与答

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

  •  
  •   zhixinli · Apr 11, 2019 · 1697 views
    This topic created in 2583 days ago, the information mentioned may be changed or developed.

    需求

    使用 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?

    Supplement 1  ·  Apr 12, 2019
    问题已经解决
    1 replies    2019-04-12 09:09:32 +08:00
    zhixinli
        1
    zhixinli  
    OP
       Apr 12, 2019
    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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2674 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:02 · PVG 00:02 · LAX 09:02 · JFK 12:02
    ♥ Do have faith in what you're doing.