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

2019-04-11 14:04:11 +08:00
 zhixinli

需求

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

1408 次点击
所在节点    问与答
1 条回复
zhixinli
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

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/554064

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX