更新时间:2023-02-13 18:31:53
您必须进行轮询.从理论上讲,您可以利用二进制日志,不知道有任何项目试图实现这一目标.
You have to poll. While in theory you could leverage the binary log, I am not aware of any project that tries to achieve this.
例如,参见 MySqlDependency
See for example MySqlDependency