{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb-tools/issues/41","repository_url":"https://api.github.com/repos/pingcap/tidb-tools","labels_url":"https://api.github.com/repos/pingcap/tidb-tools/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb-tools/issues/41/comments","events_url":"https://api.github.com/repos/pingcap/tidb-tools/issues/41/events","html_url":"https://github.com/pingcap/tidb-tools/pull/41","id":339852336,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNDAzNzQ3","number":41,"title":"pkg: add binlog event filter","user":{"login":"GregoryIan","id":10701973,"node_id":"MDQ6VXNlcjEwNzAxOTcz","avatar_url":"https://avatars3.githubusercontent.com/u/10701973?v=4","gravatar_id":"","url":"https://api.github.com/users/GregoryIan","html_url":"https://github.com/GregoryIan","followers_url":"https://api.github.com/users/GregoryIan/followers","following_url":"https://api.github.com/users/GregoryIan/following{/other_user}","gists_url":"https://api.github.com/users/GregoryIan/gists{/gist_id}","starred_url":"https://api.github.com/users/GregoryIan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregoryIan/subscriptions","organizations_url":"https://api.github.com/users/GregoryIan/orgs","repos_url":"https://api.github.com/users/GregoryIan/repos","events_url":"https://api.github.com/users/GregoryIan/events{/privacy}","received_events_url":"https://api.github.com/users/GregoryIan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-10T13:51:59Z","updated_at":"2018-07-10T13:52:39Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pingcap/tidb-tools/pulls/41","html_url":"https://github.com/pingcap/tidb-tools/pull/41","diff_url":"https://github.com/pingcap/tidb-tools/pull/41.diff","patch_url":"https://github.com/pingcap/tidb-tools/pull/41.patch"},"body":"We have three types of filters:\r\n\r\n1. builtin parser filter unsupport SQLs (skip or issue error) (we should wrap and make parser to a package wich has more sophisticated and powerful features ) \r\n2. schema/table name back/white list filter\r\n3.  binlog event filter\r\n\r\nthis pr implements 3, we will complete 1 and 2 later\r\n\r\n@csuzhangxc @holys PTAL\r\n"},"comment":{"url":"https://api.github.com/repos/pingcap/tidb-tools/issues/comments/403829974","html_url":"https://github.com/pingcap/tidb-tools/pull/41#issuecomment-403829974","issue_url":"https://api.github.com/repos/pingcap/tidb-tools/issues/41","id":403829974,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzgyOTk3NA==","user":{"login":"GregoryIan","id":10701973,"node_id":"MDQ6VXNlcjEwNzAxOTcz","avatar_url":"https://avatars3.githubusercontent.com/u/10701973?v=4","gravatar_id":"","url":"https://api.github.com/users/GregoryIan","html_url":"https://github.com/GregoryIan","followers_url":"https://api.github.com/users/GregoryIan/followers","following_url":"https://api.github.com/users/GregoryIan/following{/other_user}","gists_url":"https://api.github.com/users/GregoryIan/gists{/gist_id}","starred_url":"https://api.github.com/users/GregoryIan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GregoryIan/subscriptions","organizations_url":"https://api.github.com/users/GregoryIan/orgs","repos_url":"https://api.github.com/users/GregoryIan/repos","events_url":"https://api.github.com/users/GregoryIan/events{/privacy}","received_events_url":"https://api.github.com/users/GregoryIan/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T13:52:39Z","updated_at":"2018-07-10T13:52:39Z","author_association":"CONTRIBUTOR","body":"@datin PTAL"}}
{"actor":{"display_login":"GregoryIan"}}