学c的sjj 发表于 2022-8-16 08:54:47

canal报错求助

Exception in thread "main" com.alibaba.otter.canal.protocol.exception.CanalClientException: failed to subscribe with reason: something goes wrong with channel:, exception=com.alibaba.otter.canal.server.exception.CanalServerException: destination:example should start first

        at com.alibaba.otter.canal.client.impl.SimpleCanalConnector.subscribe(SimpleCanalConnector.java:208)
        at testbin.CanalClient.main(CanalClient.java:29)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:131)

我的canal在客户端同步mysql和redis数据时报了这个错误,但是不知道出了什么问题,求助各位大佬。。。
页: [1]
查看完整版本: canal报错求助