{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20120827%2Fp1\" title=\" mysql-replication-listener\u306e\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u66f8\u304d\u307e\u3057\u305f\u2026\u304c - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","url":"https://so-wh.at/entry/20120827/p1","blog_url":"https://so-wh.at/","image_url":null,"title":" mysql-replication-listener\u306e\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u66f8\u304d\u307e\u3057\u305f\u2026\u304c","blog_title":"so what","author_url":"https://blog.hatena.ne.jp/winebarrel/","provider_url":"https://hatena.blog","width":"100%","description":"\u5c11\u3057\u524d\u306b\u8a71\u984c\u306b\u4e0a\u3063\u305fmysql-replication-listener\uff08libreplication\uff09\u306eRuby\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u66f8\u304d\u307e\u3057\u305f\u3002https://bitbucket.org/winebarrel/ruby-binlog/ require \"binlog\" client = Binlog::Client.new(\"mysql://repl:repl@nyarlathotep\") client.connect client.position = 4 while event = client.wait_for_next_event case event when Binlog::Quer\u2026","categories":["RUBY"],"provider_name":"Hatena Blog","height":"190","author_name":"winebarrel","published":"2012-08-27 00:00:00","type":"rich"}