使用 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
zhixinli OP 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 |