-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问只能在linux下使用? #7
Comments
这是运行在php环境中的,php环境可以跨平台。 |
谢谢你的回复,我目前的问题是命令行执行了实例代码,我在数据库已经做了插入,没有提示我插入的数据,然后总是提示超时,我判断的是canal客户端没有配置成功,请问是这样子?因为目前在mysql和redis同步是用往上常规的方法(先在redis中查,没有时候再从redis查,然后再回写到redis中设置超时)
这种方法很笨,看了这个工具后感觉很好,但是网上又欠缺相关的教程,请赐教
…------------------ 原始邮件 ------------------
发件人: "xingwenge"<[email protected]>;
发送时间: 2020年2月13日(星期四) 上午9:48
收件人: "xingwenge/canal-php"<[email protected]>;
抄送: "彼岸遇到你"<[email protected]>;"Author"<[email protected]>;
主题: Re: [xingwenge/canal-php] 请问只能在linux下使用? (#7)
这是运行在php环境中的,php环境可以跨平台。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
看样子是还需要安装canal server,具体详见 https://github.com/alibaba/canal 。canal-php是canal server的客户端。 |
我猜测是客户端没有配置和安装成功,所以在用canal_php连接时候获取不到客户端相关的连接信息所以连接超时,但是还是要慢慢从java里面去借鉴,我看php相关的配置还没有人用过,后续才慢慢研究了,
------------------ 原始邮件 ------------------
发件人: "xingwenge"<[email protected]>;
发送时间: 2020年2月13日(星期四) 下午2:14
收件人: "xingwenge/canal-php"<[email protected]>;
抄送: "彼岸遇到你"<[email protected]>;"Author"<[email protected]>;
主题: Re: [xingwenge/canal-php] 请问只能在linux下使用? (#7)
看样子是还需要安装canal server,具体详见 https://github.com/alibaba/canal 。canal-php是canal server的客户端。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
mysql和redis的同步使用延时双删的策略就好了,引入更多的技术会把系统变复杂 |
已经实现了,双删策略是常见的用法,用canal能避免并发时候缓存穿透的情况,也是挺不错的尝试
…------------------ 原始邮件 ------------------
发件人: "luoshaocheng"<[email protected]>;
发送时间: 2020年3月18日(星期三) 晚上6:16
收件人: "xingwenge/canal-php"<[email protected]>;
抄送: "彼岸遇到你"<[email protected]>;"Author"<[email protected]>;
主题: Re: [xingwenge/canal-php] 请问只能在linux下使用? (#7)
谢谢你的回复,我目前的问题是命令行执行了实例代码,我在数据库已经做了插入,没有提示我插入的数据,然后总是提示超时,我判断的是canal客户端没有配置成功,请问是这样子?因为目前在mysql和redis同步是用往上常规的方法(先在redis中查,没有时候再从redis查,然后再回写到redis中设置超时) 这种方法很笨,看了这个工具后感觉很好,但是网上又欠缺相关的教程,请赐教
…
------------------ 原始邮件 ------------------ 发件人: "xingwenge"<[email protected]>; 发送时间: 2020年2月13日(星期四) 上午9:48 收件人: "xingwenge/canal-php"<[email protected]>; 抄送: "彼岸遇到你"<[email protected]>;"Author"<[email protected]>; 主题: Re: [xingwenge/canal-php] 请问只能在linux下使用? (#7) 这是运行在php环境中的,php环境可以跨平台。 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
mysql和redis的同步使用延时双删的策略就好了,引入更多的技术会把系统变复杂
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
用倒是很想用,就是不知道流程怎么运转的,.zip下的文件里面也没有找到安装的入口
The text was updated successfully, but these errors were encountered: